We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4067a8e commit be7f082Copy full SHA for be7f082
1 file changed
src/Manager.php
@@ -94,7 +94,7 @@ public function add(ACLInterface $acl): Manager
94
*/
95
public function can($permission, $context): bool
96
{
97
- if (empty($this->permissions)) {
+ if (empty($this->roles)) {
98
return TRUE;
99
}
100
0 commit comments