#2 Nov 02, 2018 19:44
There are different types of permissions: some belong to a user group, some belong to a user*collection and some belong to a usergroup*collection.
Depending on the permissions name (eg
admin) the underlying permission will be fetched in different places.
The best what to understand the logic is to drill down into the
User::check_perm() function and follow the logic there.