Fix warnings for duplicated policy rules

There are so many warning messages appear while running tests. It's
because of a change in `oslo.policy` for notifying that some policy
rules are the same as default. So, this change removes duplicated
policies from policy file.

Closes-Bug: #1921981

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I8a75bac1659ceff2efbb5ae017b131506a689e29
This commit is contained in:
Yasufumi Ogawa 2021-03-31 03:20:32 +00:00
parent a6811d2c59
commit 12ff2919b4

View File

@ -1,8 +1,6 @@
"context_is_admin": "role:admin"
"admin_or_owner": "rule:context_is_admin or tenant_id:%(tenant_id)s"
"admin_only": "rule:context_is_admin"
"regular_user": ""
"shared": "field:vims:shared=True"
"default": "rule:admin_or_owner"
"get_vim": "rule:admin_or_owner or rule:shared"