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.

Required Associated Types§

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

source

type RemoveOrigin: EnsureOrigin<Self::RuntimeOrigin>

source

type MaxScopesPerPallet: Get<u32>

source

type MaxRolesPerPallet: Get<u32>

source

type RoleMaxLen: Get<u32>

source

type PermissionMaxLen: Get<u32>

source

type MaxPermissionsPerRole: Get<u32>

source

type MaxRolesPerUser: Get<u32>

source

type MaxUsersPerRole: Get<u32>

Implementors§