Skip to content

Commit

Permalink
fix: remove default allow policy for storages
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiu Jian committed Jul 9, 2020
1 parent b921d99 commit 8f7223b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/compute/policy/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,6 @@ var (
Action: PolicyActionList,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "storages",
Action: PolicyActionList,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "storages",
Action: PolicyActionGet,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "vpcs",
Expand Down

0 comments on commit 8f7223b

Please sign in to comment.