Using LDAP assignments, delete group doesn't remove assignments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Brant Knudson |
Bug Description
When Keystone is configured to use the LDAP backend for assignments, if a group with a role assignment is deleted then the role assignments are not deleted as they should be.
See bug 1365787 for instructions on creating the group role assignment.
Here's an example where I set up a group role assignment:
$ openstack role assignment list
+------
| Role | User | Group | Project | Domain |
+------
...
| fc4bf67b5d00458
+------
bknudson@f1-ds:~$ openstack group delete blktest1
bknudson@f1-ds:~$ openstack role assignment list
+------
| Role | User | Group | Project | Domain |
+------
| fc4bf67b5d00458
+------
That role assignment shouldn't be there anymore.
Changed in keystone: | |
assignee: | nobody → Brant Knudson (blk-u) |
Changed in keystone: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
tags: | added: juno-rc-potential |
Changed in keystone: | |
milestone: | none → juno-rc1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-rc1 → 2014.2 |
There's an odd comment in keystone. assignment. backends. ldap for delete_group[1] that says that assignments would already be deleted, but by my testing the assignment isn't already deleted.
[1] http:// git.openstack. org/cgit/ openstack/ keystone/ tree/keystone/ assignment/ backends/ ldap.py# n289