Bug 1820431
| Summary: | console should disable the install button for users who only have view permisson | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | shahan <hasha> |
| Component: | Management Console | Assignee: | Steve Goodwin <sgoodwin> |
| Status: | CLOSED DUPLICATE | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs, bpeterse, jokerman, spadgett |
| Target Milestone: | --- | ||
| Target Release: | 4.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-18 14:19:03 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: | |||
|
Description
shahan
2020-04-03 04:27:43 UTC
(In reply to shahan from comment #0) > The "Installed Namespace" dropdown always loading on the subscription > creation page since the user have no permisson to view all ns This shouldn't be the case because we use the projects API to populate the dropdown. All users can list projects. I could see it happening if the *active* project is somehow a project the user can't access. Then the dropdown might keep loading since the selected item isn't in the list. Can you confirm the project selected in the project dropdown just below the masthead is a project the current user has access to? If so, it's kind of hard to get in this situation. But we should handle it better. > console should disable the install button for users who only have view > permisson This is not so simple because you selected the install mode and target namespace on the next page. There's not a good access review we can make until we know the target namespace. It might be possible to check the user's access to the *current* namespace, although it could incorrectly disable the button when the user has permission to install in a different namespace or the `openshift-operators` namespace for global operators. The underlying problems with the dropdown loading is the same as bug 1845817. *** This bug has been marked as a duplicate of bug 1845817 *** |