checker CLI does not enumerate all rules for glance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.policy |
In Progress
|
Undecided
|
Stephen Finucane |
Bug Description
Something about the glance.json policy file stops the CLI checker from enumerating all the rules;
sample input:
oslopolicy-checker --policy /opt/stack/
Return no output. However (with a doctored access file to add the Member or admin role) individual rules will pass
$ oslopolicy-checker --policy etc/glance/
failed: modify_task
$ oslopolicy-checker --policy etc/glance/
passed: reactivate
Changed in oslo.policy: | |
assignee: | nobody → Adam Young (ayoung) |
Changed in oslo.policy: | |
status: | New → In Progress |
Changed in oslo.policy: | |
assignee: | Adam Young (ayoung) → Stephen Finucane (stephenfinucane) |
Turns out the checker looks for a : in the rules, as most of the other services are formatted like identity: create_ user, but glance has no namespace.