Download the PHP package alchemy/acl-bundle without Composer
On this page you can find all versions of the php package alchemy/acl-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alchemy/acl-bundle
More information about alchemy/acl-bundle
Files in alchemy/acl-bundle
Download alchemy/acl-bundle
More information about alchemy/acl-bundle
Files in alchemy/acl-bundle
Vendor alchemy
Package acl-bundle
Short Description Symfony ACL bundle
License MIT
Homepage https://www.alchemy.fr/
Package acl-bundle
Short Description Symfony ACL bundle
License MIT
Homepage https://www.alchemy.fr/
Please rate this library. Is it a good library?
Informations about the package acl-bundle
Alchemy ACL bundle
Installation
Project configuration
Add the entities you want to extend with ACL:
Then you must alias your UserRepository service:
Add redis cache for access token:
API
Definitions
-
userType
Can beuser
orgroup
-
userId
The user ID or the group ID (depending on theuserType
). If the value is NULL, then the ACE allows everybody. objectType
Depending on the application. Rely on the object you have defined:
In this application, objectType
can be either publication
or asset
.
objectId
If the value is NULL, then the ACE is apply to all objects of thisobjectType
.
Endpoints
This bundle exposes the following routes to the application:
GET /permissions/aces
Get access control entries (ACEs) Available query filters:userType
(user
orgroup
)userId
objectType
objectId
Examples:
PUT /permissions/ace
Add or update access control entry (ACE)
You must provide the following body:
DELETE /permissions/ace
Remove access control entry (ACE)
All versions of acl-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-json Version *
doctrine/orm Version ^2.6
ramsey/uuid-doctrine Version ^1.5
symfony/event-dispatcher Version ^4.0|^5.4|^6.1
symfony/framework-bundle Version ^4.0|^5.4|^6.1
symfony/security-bundle Version ^4.0|^5.4|^6.1
symfony/validator Version ^6.3
symfony/yaml Version ^4.4|^5.4|^6.1
ext-json Version *
doctrine/orm Version ^2.6
ramsey/uuid-doctrine Version ^1.5
symfony/event-dispatcher Version ^4.0|^5.4|^6.1
symfony/framework-bundle Version ^4.0|^5.4|^6.1
symfony/security-bundle Version ^4.0|^5.4|^6.1
symfony/validator Version ^6.3
symfony/yaml Version ^4.4|^5.4|^6.1
The package alchemy/acl-bundle contains the following files
Loading the files please wait ....