I am trying to use the group method
hasPermission(permission_label, user). I found an example that is the following:
$group->hasPersmission('administer members', $user)
I would like to know what all the different permissions types are. In particular I want to be able to differentiate whether a user can edit or just view a type of content.
How do I a get a list of the different types of permissions?