====== Requirement ====== Super Admin - Need to create a new role called 'Super Admin' for both at SuperSite level and SubSite level - By default site admin will be Super admin for SubSite level - By default super site admin will be Super Admin for SuperSite/SubSite level - Only one Super Admin can exists at a time in a site - Super Admin can view/delete any item in the site created by anyone ====== Rails Implementation ====== - Right now each company has five role types, add one more role named "Super Admin" - Add a backfill task to update the "role_id" column of existing site admin/super admin user(default site creator) with the new role id created - Once the user with "Super Admin" role logs in, list all the items(created by other users as well) in the "Created By Me" panel. - Should also be able to delete any item (course/certification/live_event/in_person_event/blog/content/group) created in the site. - Create migration to add a new record with privilege name as 'destroy_all' in privileges table ====== Sample Mock ====== {{:user_management_screen.png?1000x700}} ====== DB changes ====== - Insert new record in Role table with name 'Super Admin' for each and every company - Insert new record in Privilege table with name 'destroy_all' and description 'Destroy All' - No new columns or tables are added