tacker/tacker/tests/etc/policy.yaml
Yasufumi Ogawa 12ff2919b4 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
2021-04-01 08:40:31 +00:00

7 lines
210 B
YAML

"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"
"get_vim": "rule:admin_or_owner or rule:shared"