PermissionsRepository
class PermissionsRepository
Class PermissionsRepository is used to retrieve permission data
Methods
No description
Get all permissions from current permissions config
Get all the available permissions we can pick from on the menu items list
Get permission and any related data by using its permission path to retrieve its related data from the permissions config
Get an array of all permission paths and human names
Uses available rules from Devise\Users\Permissions\RuleManager Class to build options for select
Uses array of rule names to create a map of names to paramter count
Details
at line 15
__construct(Framework $Framework, $File = null)
at line 28
array
getAllPermissions()
Get all permissions from current permissions config
at line 39
array
availablePermissions()
Get all the available permissions we can pick from on the menu items list
at line 51
array
getPermissionByPath(string $condition)
Get permission and any related data by using its permission path to retrieve its related data from the permissions config
at line 90
array
allPermissionsPaginated(integer $perPage = 25)
Get an array of all permission paths and human names
at line 110
array
availableRulesList()
Uses available rules from Devise\Users\Permissions\RuleManager Class to build options for select
at line 125
array
getRuleParamMap($rules)
Uses array of rule names to create a map of names to paramter count