Download the PHP package alex-kalanis/kw_auth_groups without Composer
On this page you can find all versions of the php package alex-kalanis/kw_auth_groups. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alex-kalanis/kw_auth_groups
More information about alex-kalanis/kw_auth_groups
Files in alex-kalanis/kw_auth_groups
Package kw_auth_groups
Short Description Groups for determine authentication rights in KWCMS
License BSD-3-Clause
Informations about the package kw_auth_groups
kw_auth_groups
Groups using kw* authentication sources inside the kw* project.
PHP Installation
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "kalanis\kw_auth_groups\Access\Factory" into your app. Extends it for setting your case.
4.) Extend your libraries by interfaces inside the package.
5.) Just call Factory::getSources and then work over CompositeSources.
Basic Rules
-
Get
- Group ID equals current one.
- Group ID is somewhere in the tree of children.
-
Add
- Fails when the currently added group already exists.
- Fails when the currently added group is already defined within parents of this group.
-
Update
- Fails when the currently updated group is already defined within parents of this group.
- Delete
- Can delete only when there is no group with processed one as parent.
The group ID is usually string, although it can be integer converted to string before method call.
All versions of kw_auth_groups with dependencies
alex-kalanis/kw_auth_sources Version >=5.0 <6
alex-kalanis/kw_groups Version >=3.0 <4
ext-ctype Version *
ext-json Version *
ext-mbstring Version *
php Version >=7.4.0