-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi @driesvints
I used Laravel 5, version 0.2 of the package and array as driver.
I created an alias to manage the crud, in lock.php
'permissions' => function (Manager $manager, Lock $caller) {
$manager->alias('manage', ['create', 'read', 'update', 'delete']);I set the privilege of the alias for a resource
$manager->role('reseller')->allow('manage', 'users');I denied one of the actions for that resource
$manager->role('reseller')->deny('create', 'users');If I try with dd, the action is properly denied ✔️
If I try from view, the action is permitted
Is my mistake or a bug?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels