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

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

parent 6ee74e9a
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ macro_rules! pallets_config {
type PalletsOrigin = OriginCaller;
type Call = Call;
type MaximumWeight = MaximumSchedulerWeight;
type ScheduleOrigin = frame_system::EnsureSigned<AccountId>;
type ScheduleOrigin = EnsureRoot<AccountId>;
type OriginPrivilegeCmp = EqualPrivilegeOnly;
type MaxScheduledPerBlock = MaxScheduledPerBlock;
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