mirror of
https://github.com/minio/minio.git
synced 2025-01-12 07:23:23 -05:00
Add TopLocksAdminAction to diagsnostics canned policy (#9104)
This commit is contained in:
parent
6a00eb10bf
commit
33edb072a3
@ -72,7 +72,7 @@ var AdminDiagnostics = Policy{
|
|||||||
{
|
{
|
||||||
SID: policy.ID(""),
|
SID: policy.ID(""),
|
||||||
Effect: policy.Allow,
|
Effect: policy.Allow,
|
||||||
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction),
|
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction, TopLocksAdminAction),
|
||||||
Resources: NewResourceSet(NewResource("*", "")),
|
Resources: NewResourceSet(NewResource("*", "")),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user