Download the PHP package skyline/cms-security without Composer
On this page you can find all versions of the php package skyline/cms-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cms-security
Skyline CMS Security
Install this package to apply the package easy into your application.
It ships with a preconfiguration that you can easily adjust to your requirements.
Compiler annotations
This package extends your application compilation by another annotation compiler.
Annotations can be placed in your action controller. Everywhere else they don't affect compilation.
``
This annotations are available:
Identification
- ` (multiple not allowed)
Requires a minimal reliability. - (multiple allowed, if one matches, condition is fulfilled)
Requires a specific identity token name. -
Forces to authenticate the identity.
Authentication
- (multiple allowed, if one matches, condition is fulfilled)
Requires a specific user by its name. - ` (multiple allowed, if one matches, condition is fulfilled)
Requires, that the authenticated user is member of specific group
Authorization
- (multiple allowed, if all match, condition is fulfilled)
Requires, that the authenticated user has a specific role
Please note that depending what you require not all security processes are performed:
If you only require a reliability and a token, no authentication is done!
See Package for more information.
Compile DataBase
Skyline Compiler allows you the compilation flag .
Compiling with this flag, this package will try to create database tables that allow a fully working login system.
-
Table hold all necessary information for a user, of course, you may easy extends it.
- `
Authorization part are roles, who has which roles to access an action. -
Users can be member of one or more groups. This also allows authorizing an action.
- `
Intermediate table: Which user is member of which group - `
Intermediate table: Which user owns which roles - `
Intermediate table: Which group owns which roles
So if a user is member or a group, the user inherits all roles assigned by the group.
Security Trait
`` The security trait can be used in any class that you want to access dynamically security features.
All versions of cms-security with dependencies
ext-openssl Version *
skyline/security Version ^8
skyline/core-application Version ^8
skyline/pdo Version ^0.9
tasoft/value-injector Version ^1