Impossible to define policy rule based on domain ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned | ||
OpenStack Heat |
Triaged
|
Wishlist
|
Unassigned | ||
OpenStack Shared File Systems Service (Manila) |
Opinion
|
Wishlist
|
Unassigned | ||
neutron |
Opinion
|
Wishlist
|
Unassigned | ||
oslo.policy |
Invalid
|
Wishlist
|
Unassigned | ||
watcher |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
We have common approach to set rules for each API using policy.json file.
And for the moment, it is not possible to use "domain_id" in policy rules,
only "project_id" and "user_id". It becomes very important because Keystone API v3 is used more and more.
The only service that supports rules with "domain_id" is Keystone itself.
As a result we should be able to use following rules:
"admin_
"domain_owner": "domain_
like this:
"volume:get": "rule:domain_
or
"volume:get": "rule:admin_
Right now, we always get 403 error having such rules.
Related mail-list thread: https:/
description: | updated |
tags: | added: policy |
description: | updated |
description: | updated |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in manila: | |
importance: | Undecided → Wishlist |
status: | New → Opinion |
Changed in watcher: | |
importance: | Undecided → Wishlist |
status: | New → Opinion |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
please don't create these openstack-wide bugs, it spams everyone. i've removed telemetry projects but feel free to apply patches to them (don't do it for ceilometer since it doesn't have an active api).