I cannot reproduce this bug with Pike devstack.  This bug is nearly 2 years
old, so marking as Invalid.  If this issue still exists, please feel free to
reopen it and provide additional details.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1505209

Title:
  Unable to grant role in project to user/group in latest DevStack

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Git version of Horizon 8.0.0.0rc2 from branch stable/liberty

  Steps:
  1. Identity -> Projects
  2. Select one of projects and edit its members
  3. One can add user but no roles to select are shown. No errors in apache log 
but in firebug console there is: TypeError: role_list is undefined

  Some more informations from firebug console:
  TypeError: role_list is undefined
  http://myLocalIP/static/dashboard/js/a5878f7901a6.js
  Line 3261

  This is line 3261:
  else{for(role in 
membership){if(membership.hasOwnProperty(role)){horizon.membership.remove_member(step_slug,data_id,role,membership[role]);}}}},add_member_to_role:function(step_slug,data_id,role_id){var
 
role_list=horizon.membership.current_membership[step_slug][role_id];role_list.push(data_id);horizon.membership.update_role_lists(step_slug,role_id,role_list);},update_member_role_dropdown:function(step_slug,data_id,role_ids,member_el){if(typeof(role_ids)==='undefined'){role_ids=horizon.membership.get_member_roles(step_slug,data_id);}

  And that part of line is indicated:
  
....current_membership[step_slug][role_id];role_list.push(data_id);horizon.membersh...
  ----------------------------------------------------------------------^

  I can easily list roles under url: /identity/roles/ and grant roles
  from CLI level.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1505209/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to