Initial work on the Permissions library (WIP)
Fixed copy-paste error in previous commit