Project name link result in user log out

Bug #1494548 reported by qiaomin032
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Committed
Undecided
Eric Peterson

Bug Description

Reproduce the bug:
1,Login as a normal user for example "demo", and open the identity project page, you will see the project info displaying in the table.
2,click the project name "demo" link, there will log out the user, and will redirect to the login page and display the error: "Unauthorized. Please try logging in again."

Logout the user is highly undesirable.

Since the demo user has no Permission to see the project detail, we should set the name link to None.
I also provide a attached picture for more detail.

Revision history for this message
qiaomin032 (chen-qiaomin) wrote :
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/222437

Changed in horizon:
assignee: nobody → qiaomin032 (chen-qiaomin)
status: New → In Progress
Changed in horizon:
assignee: qiaomin032 (chen-qiaomin) → Eric Peterson (ericpeterson-l)
Changed in horizon:
assignee: Eric Peterson (ericpeterson-l) → qiaomin032 (chen-qiaomin)
Changed in horizon:
assignee: qiaomin032 (chen-qiaomin) → Eric Peterson (ericpeterson-l)
Changed in horizon:
assignee: Eric Peterson (ericpeterson-l) → Lin Hua Cheng (lin-hua-cheng)
Changed in horizon:
assignee: Lin Hua Cheng (lin-hua-cheng) → Eric Peterson (ericpeterson-l)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/222437
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=eee3b0e162bad9c4e070d0fede4ff81caa0331de
Submitter: Jenkins
Branch: master

commit eee3b0e162bad9c4e070d0fede4ff81caa0331de
Author: chenqiaomin <chen.qiaomin@99cloud.net>
Date: Fri Jul 10 10:47:08 2015 -0400

    Add policy check for project detail link

    This change does a policy check for each row, to determine if
    the link should be displayed or not.

    Change-Id: Ia07c88216cdeb81c87da5c813bafb85e43c58e14
    Closes-Bug: #1494548
    Closes-Bug: #1418246

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b1

This issue was fixed in the openstack/horizon 9.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/283011

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/liberty)

Reviewed: https://review.openstack.org/283011
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4857902df661cc86fe58e4879556fa48ce105ad1
Submitter: Jenkins
Branch: stable/liberty

commit 4857902df661cc86fe58e4879556fa48ce105ad1
Author: chenqiaomin <chen.qiaomin@99cloud.net>
Date: Fri Jul 10 10:47:08 2015 -0400

    Add policy check for project detail link

    This change does a policy check for each row, to determine if
    the link should be displayed or not.

    Change-Id: Ia07c88216cdeb81c87da5c813bafb85e43c58e14
    Closes-Bug: #1494548
    Closes-Bug: #1418246
    (cherry picked from commit eee3b0e162bad9c4e070d0fede4ff81caa0331de)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 8.0.2

This issue was fixed in the openstack/horizon 8.0.2 release.

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.