We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40c31c7 + 74757a4 commit 1d2dccaCopy full SHA for 1d2dcca
src/Acl/Services/GetUserPermissions.php
@@ -16,7 +16,7 @@ public function run(int $userId): array
16
//if has direct permissions use it
17
if ($user->permissions->count()) {
18
return $this->mapPermissions($user->permissions);
19
- //get the permissions via roles
+ //get the permissions via roles
20
} else {
21
return $this->mapPermissions($user->getAllPermissions());
22
}
0 commit comments