Skip to content

Commit

Permalink
merge into "Simplify determination of users with GRANT_ROLE"
Browse files Browse the repository at this point in the history
Co-authored-by: ineilson <[email protected]>
  • Loading branch information
gregcorbett and ineilson authored Oct 4, 2021
1 parent 35e5cf5 commit 010ce8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gocdb_Services/NotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function roleRequest ($roleRequested, $requestingUser, $entity) {
// variable.
$enablingRoles = \Factory::getRoleActionAuthorisationService()->authoriseAction(\Action::GRANT_ROLE, $entity, $user)->getGrantingRoles();

// If they can, add thier user id to the list of authorising user
// If they can, add their user id to the list of authorising user
// ids.
if (count($enablingRoles) > 0) {
$authorisingUserIds [] = $user->getId();
Expand Down

0 comments on commit 010ce8b

Please sign in to comment.