Merge "Fix role name for OS::Nova::Flavor"

This commit is contained in:
Zuul 2018-02-07 05:29:09 +00:00 committed by Gerrit Code Review
commit 81732ef07e
1 changed files with 1 additions and 1 deletions

View File

@ -473,5 +473,5 @@ function modify_heat_flavor_policy_rule {
local policy_file=$HEAT_CONF_DIR/policy.yaml
touch $policy_file
# Allow non-admin projects with 'admin' roles to create flavors in Heat
echo '"resource_types:OS::Nova::Flavor": "role:almin"' >> $policy_file
echo '"resource_types:OS::Nova::Flavor": "role:admin"' >> $policy_file
}