Edit on GitHub
Jump to docs navigation

Nut command / User Roles / role:add

Note: You are currently reading the documentation for Bolt 3.7. Looking for the documentation for Bolt 5.2 instead?

Nut's role:add command adds a given role to a user's Bolt account.

Usage

    php ./app/nut role:add <username> <role>

Arguments

Argument Description
username The username (login name) you wish to add a role to
role The role you wish to give them

Example

Giving user 'chief-editor' role

$ php ./app/nut role:add kenny chief-editor

User 'kenny' now has role 'chief-editor'.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.