Bug 1833146 - Hide Project Access Tab when restricted access
Summary: Hide Project Access Tab when restricted access
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: 4.5.0
Assignee: Debsmita Santra
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-07 21:58 UTC by Debsmita Santra
Modified: 2020-07-13 17:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Previously Project Access was an independent nav item in the Dev perspective and it showed the `Restricted Access` error when the user has no access to role bindings. Now `Project Access` is one of the tabs in the Project Details page so if the user has no permission to list or create role bindings, the `Project Access` tab it will be hidden
Clone Of:
Environment:
Last Closed: 2020-07-13 17:35:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Hidden Project Access Tab when restricted access (151.12 KB, image/png)
2020-05-14 11:38 UTC, Gajanan More
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5350 0 None closed Bug 1833146: Hide Project Access Tab when the user have no access to role bindings 2020-06-30 19:02:58 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:36:19 UTC

Description Debsmita Santra 2020-05-07 21:58:30 UTC
Description of problem:
Odd to show a no-access error on a sub-page.

Version-Release number of selected component (if applicable):
4.5

How reproducible:


Steps to Reproduce:
1. Create another user
2. Give them Edit or View access of your namespace
3. Login as them
4. Navigate to the Project => Project Access tab

Actual results:
Project Access page could be seen with `Restricted Access` Error message

Expected results:
No "Project Access" tab if the user lacks the permissions to use it.

Additional info:

Comment 3 Gajanan More 2020-05-14 11:38:52 UTC
Created attachment 1688404 [details]
Hidden Project Access Tab when restricted access

Comment 4 Gajanan More 2020-05-14 11:39:38 UTC
I have validated the bugzilla on
Build: 4.5.0-0.ci-2020-05-13-231257
Browser: Google Chrome Version 81.0.4044.129
Please have a look at the shared screenshots
Marking this as verified.

Comment 5 errata-xmlrpc 2020-07-13 17:35:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2409


Note You need to log in before you can comment on or make changes to this bug.