Skip to content
Snippets Groups Projects
Commit d26340ba authored by Éloïs's avatar Éloïs
Browse files

fix(runtimes):security: pallet scheduler should not be used by end users

parent db3ad18d
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ macro_rules! pallets_config { ...@@ -91,7 +91,7 @@ macro_rules! pallets_config {
type PalletsOrigin = OriginCaller; type PalletsOrigin = OriginCaller;
type Call = Call; type Call = Call;
type MaximumWeight = MaximumSchedulerWeight; type MaximumWeight = MaximumSchedulerWeight;
type ScheduleOrigin = frame_system::EnsureSigned<AccountId>; type ScheduleOrigin = EnsureRoot<AccountId>;
type OriginPrivilegeCmp = EqualPrivilegeOnly; type OriginPrivilegeCmp = EqualPrivilegeOnly;
type MaxScheduledPerBlock = MaxScheduledPerBlock; type MaxScheduledPerBlock = MaxScheduledPerBlock;
type WeightInfo = pallet_scheduler::weights::SubstrateWeight<Runtime>; type WeightInfo = pallet_scheduler::weights::SubstrateWeight<Runtime>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment