Skip to content

Commit

Permalink
Add TopLocksAdminAction to diagsnostics canned policy (minio#9104)
Browse files Browse the repository at this point in the history
  • Loading branch information
kannappanr authored Mar 9, 2020
1 parent 6a00eb1 commit 33edb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iam/policy/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var AdminDiagnostics = Policy{
{
SID: policy.ID(""),
Effect: policy.Allow,
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction),
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction, TopLocksAdminAction),
Resources: NewResourceSet(NewResource("*", "")),
},
},
Expand Down

0 comments on commit 33edb07

Please sign in to comment.