Skip to content

Commit ab0b6c8

Browse files
authored
Merge pull request #282 from kenjis/fix-docs-authorization.md
docs: remove incorrect description in authorization.md
2 parents 0b3ecf0 + 96453c0 commit ab0b6c8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

docs/authorization.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ if (! $user->inGroup('superadmin', 'admin')) {
120120
Permissions can be granted on a user level as well as on a group level. Any user-level permissions granted will
121121
override the group, so it's possible that a user can perform an action that their groups cannot.
122122

123-
None of the changes are saved on the User entity until you `save()` with the `UserModel`.
124-
125123
#### addPermission()
126124

127125
Adds one or more permissions to the user. If a permission doesn't exist, a `CodeIgniter\Shield\Authorization\AuthorizationException`

0 commit comments

Comments
 (0)