Skip to content

Commit

Permalink
Created documentation for the usersInGroup method.
Browse files Browse the repository at this point in the history
modified:   docs/authorization.md
  • Loading branch information
rafinhaa committed Jun 28, 2021
1 parent 15a347d commit 4927ae6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ be either the group ID or the group's name.
$authorize->removeUserFromGroup($userId, $group_id);
$authorize->removeUserFromGroup($userId, 'moderators');

### usersInGroup()
Lists all users in a single group. The group must already exist. The only parameter is the group you want to list. Both
parameters can be ID or name. The data return is an array.

### addPermissionToGroup()
Adds a permission to a single group. The permission must already exist. The first parameter is the permission.
The second parameter is the group to add it to. Both of the parameters can be either the ID or the name.
Expand Down

0 comments on commit 4927ae6

Please sign in to comment.