AuthServiceProvider
class AuthServiceProvider extends AuthServiceProvider (View source)
Constants
SUPERADMIN |
|
ABILITY_ALIASES |
Map between the legacy gates and the new gates from PermissionAuthServiceProvider. The new gates are being used in the code now and the old gates are kept for backward compatibility. |
Methods
define($ability, $callback)
No description
authorize($user, $callback)
No description
userHasRole($user, $roles)
No description
boot()
No description
Details
protected
define($ability, $callback)
No description
protected
authorize($user, $callback)
No description
protected
userHasRole($user, $roles)
No description
boot()
No description