Not so much an issue as a suggestion, it would be nice if there was a method to check if the user inherits a specific permission via groups its assigned to.
Currently I can't see any function that does that, specifically mentioning in the docs that:
You can check the user's immediate permissions (not the ones on groups they belong to) with the hasPermission method
But no information on how to check if the user gets a permission from a group.
Not so much an issue as a suggestion, it would be nice if there was a method to check if the user inherits a specific permission via groups its assigned to.
Currently I can't see any function that does that, specifically mentioning in the docs that:
But no information on how to check if the user gets a permission from a group.