Download the PHP package phpmv/ubiquity-acl without Composer
On this page you can find all versions of the php package phpmv/ubiquity-acl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ubiquity-acl
ubiquity-acl
Access control lists for Ubiquity framework
Samples
Defining ACLs at runtime
One by one
By grouping
Defining ACLs with annotations or attributes
Starting
Defining ACLs in controllers
A controller as a resource, authorized for a role
With annotations:
With attributes:
Overriding
It is necessary to override the _getRole method so that it returns the role of the active user:
Defining ACLs with Database
The ACLs defined in the database are additional to the ACLs defined via annotations or attributes.
Initializing
The initialization allows to create the tables associated to the ACLs (Role
, Resource
, Permission
, AclElement
).
It needs to be done only once, and in dev mode only.
Starting
In app/config/services.php
file :
All versions of ubiquity-acl with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package phpmv/ubiquity-acl contains the following files
Loading the files please wait ....