pub fn add_super_admin(origin: OriginFor<T>, account_id: T::AccountId) -> DispatchResult {
            T::RbacAdminOrigin::ensure_origin(origin)?;
            <SuperAdmins<T>>::insert(&account_id, ());
            Self::deposit_event(Event::SuperAdminAdded(account_id));
            Ok(())
        }
/// Add a new Super Admin.
/// Super Admins have access to execute and manage all pallets.
///
/// Only _root_ can add a Super Admin.
Add a new Super Admin.
Super Admins have access to execute and manage all pallets.

Only _root_ can add a Super Admin.
Add a new Super Admin . Super Admins have access to execute and manage all pallets . Only _root_ can add a Super Admin .
pub fn add_super_admin(origin: OriginFor<T>, account_id: T::AccountId) -> DispatchResult {
            T::RbacAdminOrigin::ensure_origin(origin)?;
            <SuperAdmins<T>>::insert(&account_id, ());
            Self::deposit_event(Event::SuperAdminAdded(account_id));
            Ok(())
        }
pub fn add_super_admin ( origin : OriginFor < T > , account_id : T :: AccountId ) -> DispatchResult { T :: RbacAdminOrigin :: ensure_origin ( origin ) ? ; < SuperAdmins < T > > :: insert ( & account_id , ( ) ) ; Self :: deposit_event ( Event :: SuperAdminAdded ( account_id ) ) ; Ok ( ( ) ) }
Add a new Super Admin.
Add a new Super Admin .
origin
OriginFor<T>
account_id
T::AccountId
origin
OriginFor<T>
account_id
T::AccountId