Trait pallet_rbac::pallet::Config
source · pub trait Config: Config {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type RemoveOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type MaxScopesPerPallet: Get<u32>;
type MaxRolesPerPallet: Get<u32>;
type RoleMaxLen: Get<u32>;
type PermissionMaxLen: Get<u32>;
type MaxPermissionsPerRole: Get<u32>;
type MaxRolesPerUser: Get<u32>;
type MaxUsersPerRole: Get<u32>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.