Activity log for bug #1284639

Date Who What changed Old value New value Message
2014-02-25 13:17:19 Marcos Lobo bug added bug
2014-02-25 13:17:28 Marcos Lobo keystone: assignee Marcos Lobo (marcos-fermin-lobo)
2014-02-25 13:24:20 Marcos Lobo description The list_projects_for_user() function on LDAP assignment backend only search projects with associations across user_id, not across group_ids. This function admits the group_ids parameter, but never is used on the body of the function. I think is necessary change this function to can search projects with associations across user_id and group_id. USE CASE: --------------- Check if user named 'u1' (inside group 'G2') has grants on project named 'p1'. We have this hierarchy: P1 <- G1 <- G2 <- U1 In this use case, user 'U1' should have grants on project 'P1' because user 'U1' belongs to group 'G2', 'G2' belongs to 'G1' and 'G1' has grants on 'P1'. What happens to the current code: ---------------------------------------------------- User 'U1' has not grants on project 'P1'. That is because list_projects_for_user() only search associations between user and project directly and not between groups and projects. The list_projects_for_user() function on LDAP assignment backend only search projects with associations across user_id, not across group_ids. This function admits the group_ids parameter, but never is used on the body of the function. I think is necessary change this function to can search projects with associations across user_id and group_id. USE CASE: --------------- Check if user named 'u1' (inside group 'G2') has grants on project named 'p1'. We have this hierarchy: P1 <- G1 <- G2 <- U1 In this use case, user 'U1' should have grants on project 'P1' because user 'U1' belongs to group 'G2', 'G2' belongs to 'G1', and 'G1' has grants on 'P1'. What happens to the current code: ---------------------------------------------------- User 'U1' has not grants on project 'P1'. That is because list_projects_for_user() only search associations between user and project directly and not between groups and projects.
2014-02-26 09:14:19 OpenStack Infra keystone: status New In Progress
2014-03-05 21:34:19 Dolph Mathews keystone: importance Undecided Wishlist
2014-04-04 20:40:51 Dolph Mathews tags ldap
2014-04-04 20:41:09 Dolph Mathews keystone: milestone juno-1
2014-06-03 23:03:34 OpenStack Infra keystone: status In Progress Fix Committed
2014-06-11 15:05:50 Thierry Carrez keystone: status Fix Committed Fix Released
2014-10-16 08:17:41 Thierry Carrez keystone: milestone juno-1 2014.2