can't delete volumes when non admin
Bug #1274053 reported by
Yves-Gwenael Bourhis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
David Lyle |
Bug Description
Environment:
===========
devstack, master branch on 29/01/2014 (older versions work).
Steps to reproduce:
================
- Log in as demo (or any NON-admin user) and into the demo tenant/project
- Create a volume.
The created volume can not be deleted. Only admins can delete the volumes a user created.
The only way for a user to delete the volume(s) he created is via the "cinder delete" command in CLI (as user, no need to be admin) so it is not a permissions issue since the user can perform the volume deletion via CLI.
Changed in horizon: | |
assignee: | nobody → David Lyle (david-lyle) |
Changed in horizon: | |
status: | Triaged → In Progress |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
This bug was introduced by https:/ /github. com/openstack/ horizon/ commit/ 985bd7390d0df59 019732c1bd52c56 42deee4465
changing in settings.py:
POLICY_ CHECK_FUNCTION = policy.check CHECK_FUNCTION = None
to:
POLICY_
Fixes the issue, BUT this should be overrideable in local_settings.py
However, the settings.py file loads local_settings.py before setting this constant, so it is not overrideable.