Bug 1833146

Summary: Hide Project Access Tab when restricted access
Product: OpenShift Container Platform Reporter: Debsmita Santra <dsantra>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:35:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Hidden Project Access Tab when restricted access none

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