File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ class Permission extends Model
159159
160160Authorization uses native Laravel relationships, so there's no need to learn a new API if you don't want to.
161161
162+ > Due to Authorization's trait based implementation, all of Authorization's functionality can be overridden or extended with you own implementation.
163+
162164### Managing Roles & Permissions
163165
164166Create a permission:
@@ -224,10 +226,10 @@ $admin->revoke('users.create');
224226// Using a permission model:
225227$admin->revoke($permission);
226228
227- // Granting multiple permissions:
229+ // Revoking multiple permissions:
228230$admin->revoke(['users.create', 'users.edit']);
229231
230- // Granting a collection of models:
232+ // Revoking a collection of models:
231233$admin->revoke(Permission::all());
232234
233235// Using a mix of models and permission name:
You can’t perform that action at this time.
0 commit comments