auth_permissions

Get the permissions of a particular role This function is overridable from the custom helpers/auth_helper.php

Parameters
string $role

The user role name or id

#
Returns
array|null

Array of permissions of the role