By default, only project admin is allowed to update quota, I tried to override neutron-api policy to allow a user with admin role on domain to set quota for network but it doesn't work. I am not sure if this is keystone bug or neutron-api bug
>> neutron-api override policy
"admin_required": "role:admin",
"admin_and_matching_domain_id": "rule:admin_required and domain_id:%(domain_id)s"
By default, only project admin is allowed to update quota, I tried to override neutron-api policy to allow a user with admin role on domain to set quota for network but it doesn't work. I am not sure if this is keystone bug or neutron-api bug
>> neutron-api override policy and_matching_ domain_ id": "rule:admin_ required and domain_ id:%(domain_ id)s"
"admin_required": "role:admin",
"admin_
"get_quota": "rule: admin_and_ matching_ domain_ id" matching_ domain_ id" matching_ domain_ id"
"update_quota": "rule: admin_and_
"delete_quota": "rule: admin_and_
'openstack quota set' returned error: 78c09808a1acc8a d6 /10.5.3. 191:9696/ v2.0/quotas/ 1508ac11c7bb413 78c09808a1acc8a d6, rule:update_quota is disallowed by policy
$ openstack quota set --floating-ips 51 1508ac11c7bb413
HttpException: 403: Client Error for url: https:/
$ openstack role assignment list --names --user test-user --+---- ------- ------- ------+ ------- +------ ------- ------- ------- +------ ------- -+----- ---+--- ------- -+ --+---- ------- ------- ------+ ------- +------ ------- ------- ------- +------ ------- -+----- ---+--- ------- -+ admin_domain | | test-project@ admin_domain | | | False | admin_domain | | | admin_domain | | False | --+---- ------- ------- ------+ ------- +------ ------- ------- ------- +------ ------- -+----- ---+--- ------- -+
+------
| Role | User | Group | Project | Domain | System | Inherited |
+------
| member | test-user@
| Admin | test-user@
+------