Skip to main content
Grants permissions, or superuser status, to a backend user who already exists. The user keeps every permission they already hold; this command never removes one. Admins on the Backend Users page can only grant permissions they hold themselves. When a feature adds new permissions, nobody but a superuser can grant them at first. Use this command when no admin on the site can sign in as a superuser. Arguments: Options: Give at least one permission code, --all-manageable, or --superuser. If the login does not exist, or any permission code is unknown or not shown on the Backend Users page, the command changes nothing, lists the codes it accepts, and exits with an error. A feature registers its permissions only while it is turned on in Portal Settings, so turn the feature on before granting its permissions. Admins on the Backend Users page can only edit a user whose permissions they also hold. After you grant a permission to one admin, every admin who does not hold it can no longer edit that admin’s account. Grant the permission to every admin who manages users, or use --superuser instead. Every change is recorded in the usage log with system as the user. Examples: Grant the Manage API Relay permission after turning on Integration Automation:
Bring an existing admin up to date with every manageable permission:
Make an admin a superuser: