lock icon indicating copy to clipboard operation
lock copied to clipboard

A flexible, driver based Acl package for PHP 5.4+

Results 23 lock issues
Sort by recently updated
recently updated
newest added

This could return a collection object which could assign permissions to multiple callers or roles at once.

feature

This change is useful to call getPermission() directly and get the list of permissions for a user, especially if the service who's asking for the permission doesn't have access to...

Removing resourceId casting to be able to support other type of resourceId like UUID etc.

If this isn't maintained anymore, you should probably set it to abandoned on packagist :) https://packagist.org/packages/beatswitch/lock

The word "resource" is not soft reserved in PHP 7. We better find some other name for it to avoid conflicts in future versions. http://php.net/manual/en/reserved.other-reserved-words.php

Hi, is there any particular reason why you only remove permission that is instance of Privilege but not Restriction?

We can use `$lock->allowed()` to retrieve a list of allowed resources. How can we get the list of any available permission for a given caller?

the allowed method only return explicit resource -> it doesn't return resources allowed to role that a caller inherits. Ie : Role ABC has privilege on Resource 1 And Caller...

Good Evening! Recently I've had the need to fetch all permissions of a caller for display on a table, the only way to accomplish this at the moment is to...

I don't really like the Security component in Symfony, because I think it is overcomplicated. One feature I really like though is the Voter next to ACL access checking: https://symfony.com/doc/master/book/security.html#access-control-lists-acls-securing-individual-database-objects