Download the PHP package ride/cli-security without Composer
On this page you can find all versions of the php package ride/cli-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ride/cli-security
More information about ride/cli-security
Files in ride/cli-security
Package cli-security
Short Description Security commands for the CLI of a Ride application
License MIT
Informations about the package cli-security
Ride: Security CLI
This module adds various security commands to the Ride CLI.
Commands
path
This command shows an overview of the secured paths.
Syntax:
- : Query to search the paths
Alias:
path secure
This command adds a path to the secured paths.
Syntax:
- : Path regular expression
Alias:
path unsecure
This command removes a path from the secured paths.
Syntax:
- : Path regular expression
Alias:
role
This command shows an overview of the roles. You can add a search query to filter the roles.
Syntax:
- : Query to search the roles
Alias:
role add
This command adds a new role to the security model.
Syntax:
- : Name to identify the role
- : Weight of the role
Alias:
role allow
This command adds a path to the allowed paths of a role.
Syntax:
- : Name or id of the role
- : Path regular expression
Alias:
role delete
This command deletes a role from the security model.
Syntax:
- : Name or id to identify the role
Alias:
role deny
This command removes a granted permission from a role.
Syntax:
- : Name or id of the role
- : Code of the permission
Alias:
role detail
This command shows the details of a role.
Syntax:
- : Name or id of the role
Alias:
role disallow
This command removes a path from the allowed paths of a role.
Syntax:
- : Name or id of the role
- : Path regular expression
Alias:
role edit
This command sets a property of a role.
Syntax:
- : Name or id of the role
- : Key of the property (name or weight)
- : Value for the property
Alias:
role grant
This command grants a permission to a role.
Syntax:
- : Name or id of the role
- : Code of the permission
Alias:
user
This command shows an overview of the users. You can set a search query to filter the users.
Syntax:
- : Query to search the users
Alias:
user add
This command adds a new user to the security model.
Syntax:
- : Username to identify the user
- : Password to authenticate the user
- : Email address of the user
Alias:
user assign
This command assigns a role to a user.
Syntax:
- : Username or id to identify the user
- : Name or id to identify the role
Alias:
user delete
This command deletes a user from the security model.
Syntax:
- : Username or id to identify the user
Alias:
user detail
This command shows the details of a user.
Syntax:
- : Username or id to identify the user
Alias:
user edit
This command sets a property of a user.
Syntax:
- : Username or id to identify the user
- : Key of the property (name, password, email, confirm, image, active or super)
- : Value for the property
Alias:
user preference
This command sets a preference of a user
Syntax:
- : Username or id to identify the user
- : Key of the preference
- : Value for the preference, omit to clear the preference
Alias:
user unassign
This command removes a role from a user.
Syntax:
- : Username or id to identify the user
- : Name or id to identify the role
Alias:
Related Modules
Installation
You can use Composer to install this application.
All versions of cli-security with dependencies
ride/cli Version ^1.0.0
ride/lib-cli Version ^1.0.0
ride/lib-common Version ^1.0.0
ride/lib-security Version ^1.0.0
ride/web-security Version ^1.0.0