Skip to content

Commit be7f082

Browse files
committed
Only use roles
1 parent 4067a8e commit be7f082

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function add(ACLInterface $acl): Manager
9494
*/
9595
public function can($permission, $context): bool
9696
{
97-
if (empty($this->permissions)) {
97+
if (empty($this->roles)) {
9898
return TRUE;
9999
}
100100

0 commit comments

Comments
 (0)