Don't list every tenant in ec2 credentials form

Bug #982602 reported by Cole Robinson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Undecided
Unassigned

Bug Description

Currently horizon seems to list every available tenant in the ec2 and openstack cred download forms. Seems like a good idea to limit those lists only to tenants associated with the logged in user.

Revision history for this message
Cole Robinson (crobinso) wrote :

This 'openstack' creds screen also blows up for a non-admin user due to the way the tenant lists are fetched, so this change would fix that issue as well.

Andy Chong (andycjw)
Changed in horizon:
status: New → Confirmed
assignee: nobody → Andy Chong (andycjw)
Revision history for this message
Andy Chong (andycjw) wrote :

horizon only list all available tenant associated with logged in user, I can't reproduce the problem reported here.
even for admin user it will only list projects associated to it, it's the same for non-admin as well

Changed in horizon:
status: Confirmed → New
status: New → Incomplete
assignee: Andy Chong (andycjw) → nobody
Revision history for this message
Cole Robinson (crobinso) wrote :

Andy, not sure why you can't see it, but it's definitely an issue with fedora essex packages. Could be a local problem I guess.

Either way, I submitted a patch that fixes it for me:

https://review.openstack.org/#/c/6580/

Devin Carlen (devcamcar)
tags: added: essex-backport-potential
Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → folsom-1
Revision history for this message
Devin Carlen (devcamcar) wrote :

Cole, your review expired: https://review.openstack.org/#/c/6580/

Can you address Gabriel's comments and resubmit?

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Bumping from milestone due to inactivity.

Changed in horizon:
milestone: folsom-1 → folsom-2
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-2 → none
Mark McLoughlin (markmc)
no longer affects: horizon/essex
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.