We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How do I create and manage the Super Admin role for my cloud?
Environment
OnApp 6.2 Edge 1 and the following versions
OnApp 6.1 Patch 2 and the following versions
Answer
When a user enables the Enable Super Admin permissions option via Settings, the option activates the permission but the corresponding role does not appear in the list of roles at Dashboard > Roles and is not assigned to any user. To create the role and to assign it to a particular user, a user runs two separate rake tasks.
To create the Super Admin role, go to the console and run the following rake task:
rake role:generate_super_admin
Next, assign this role to a specific user:
rake 'role:assign_super_admin_to_user[login]'
To delete the Super Admin role, run the following rake task:
rake role:destroy_super_admin
Additional Information
For more information about activating the permission via the Settings menu, refer to the Edit System Configuration document.