Create and Manage Super Admin Roles

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 Control Panel > Roles and is not assigned to any user.

Create Super Admin Role

To create a super admin role:

  1. At the command prompt, run the following rake task:

    rake role:generate_super_admin  
  2. Assign this role to a specific user:

    rake 'role:assign_super_admin_to_user[login]'

Delete Super Admin Role

To delete a super admin role, run the following rake task:

rake role:destroy_super_admin


For more information about activating the permission via the Settings menu, refer to the Edit System Configuration page.