This plugin adds the possibility to work with users via console commands.
- user:access
- user:create
- user:invite
- user:delete
- user:list
- user:make-super
- user:remove-super
- user:reset-password
Creates a user.
Options:
loginUser name for the user (required)emailEmail for the user (required)passwordPassword for the user (required)superAdd super user privileges to the user (optional)
Invites a user.
Options:
loginUser name for the user (required)emailEmail for the user (required)siteID of the initial site (required)expiryExpiry in days (optional)
Deletes a user.
Options:
loginUser name for the user (required)
Menage access to a user, for which sites and what access.
Options:
loginUser name for the user (required)sitesOne or more sites that you would like to set the permission for (required)accessWhich access the user should have to the site -noaccess,view,write,admin(required)
Adds super user privileges to a user
Options:
loginUser name for the user (required)
Remove super user privileges from a user
Options:
loginUser name for the user (required)
If the user is the only one that has super user access, this will fail. At least one super user is needed.
List all users.
No options.
Resets password for a user.
Options:
loginUser name for the user (required)new-passwordNew password for the user (required)