Index
A
- HasRole::assignRole() — Method in class HasRole
- Assign the given role to the user
B
- GateServiceProvider::boot() — Method in class GateServiceProvider
- Bootstrap any application services.
C
- PermissionManager::create() — Method in class PermissionManager
- Create a given permission
- RoleManager::create() — Method in class RoleManager
- Create a new role
- PermissionManager::create() — Method in class PermissionManager
- Create a given permission
- RoleManager::create() — Method in class RoleManager
- Create a new role
- CreateRolesPermissionTable — Class in namespace
D
- $GateServiceProvider — Property in class GateServiceProvider
- Indicates if loading of the service provider is deferred.
- CreateRolesPermissionTable::down() — Method in class CreateRolesPermissionTable
- Reverse the migrations
F
- $Permission — Property in class Permission
- The attributes that are mass assignable.
- $Role — Property in class Role
- Attributes that are mass assignable
G
- RoleManager::givePermission() — Method in class RoleManager
- Give a permission to a given role
- PermissionManager::getFacadeAccessor() — Method in class PermissionManager
- RoleManager::getFacadeAccessor() — Method in class RoleManager
- GateServiceProvider — Class in namespace BRKsDeadPool\Gate
- RoleManager::givePermission() — Method in class RoleManager
- Give a permission to a given role
- Role::givePermissionTo() — Method in class Role
- Grant the permission to a role
H
- $Role — Property in class Role
- Attributes that are hidden
- HasRole — Class in namespace BRKsDeadPool\Gate\Support
- HasRole::hasRole() — Method in class HasRole
- Determine if the user has the given role
- HasRole::hasPermission() — Method in class HasRole
- Determine if the user can perform a given action
M
- MakePermissionModel — Class in namespace BRKsDeadPool\Gate\Support
- MakeRoleModel — Class in namespace BRKsDeadPool\Gate\Support
P
- PermissionManager — Class in namespace BRKsDeadPool\Gate\Contracts
- PermissionManager — Class in namespace BRKsDeadPool\Gate\Facades
- GateServiceProvider::permissions() — Method in class GateServiceProvider
- Fetch the collection of site permissions
- PermissionManager — Class in namespace BRKsDeadPool\Gate\Manager
- Permission — Class in namespace BRKsDeadPool\Gate\Models
- Role::permissions() — Method in class Role
- Get the permission for roles
- MakePermissionModel::permissionModel() — Method in class MakePermissionModel
- Make permission model
R
- PermissionManager::remove() — Method in class PermissionManager
- Remove a given permission
- RoleManager — Class in namespace BRKsDeadPool\Gate\Contracts
- RoleManager::remove() — Method in class RoleManager
- Remove a given role
- RoleManager::revokePermission() — Method in class RoleManager
- Revoke a given permission to a given role
- RoleManager — Class in namespace BRKsDeadPool\Gate\Facades
- GateServiceProvider::register() — Method in class GateServiceProvider
- Register any application services.
- GateServiceProvider::registerPermissions() — Method in class GateServiceProvider
- Dynamically register permissions with Laravel's gate
- PermissionManager::remove() — Method in class PermissionManager
- Remove a given permission
- RoleManager — Class in namespace BRKsDeadPool\Gate\Manager
- RoleManager::remove() — Method in class RoleManager
- Remove a given role
- RoleManager::revokePermission() — Method in class RoleManager
- Revoke a given permission to a given role
- Permission::roles() — Method in class Permission
- Get the roles for the permissions
- Role — Class in namespace BRKsDeadPool\Gate\Models
- Role::revokePermissionTo() — Method in class Role
- HasRole::roles() — Method in class HasRole
- Get roles for current user
- MakeRoleModel::roleModel() — Method in class MakeRoleModel
- Make a role model
U
- PermissionManager::update() — Method in class PermissionManager
- Update a given permission
- RoleManager::update() — Method in class RoleManager
- Update a given role
- PermissionManager::update() — Method in class PermissionManager
- Update a given permission
- RoleManager::update() — Method in class RoleManager
- Update a given role
- Role::users() — Method in class Role
- Get the user for the roles
- CreateRolesPermissionTable::up() — Method in class CreateRolesPermissionTable
- Run the migrations