dashboard
dashboard copied to clipboard
Prevent UI access to members on projects if they don't have the correct permissions
Follow-up issue of: #5417
Setup
- Rancher version: 2.6-head
- Browser type & version: Any
Describe the bug Prevent UI access to members on projects if they don't have the correct permissions to manage members
To Reproduce
- Create a user
testuser
as a standard user - Create a project called
proj-owner
and addtestuser
as a member with the roleProject Owner
- Create a project called
proj-manage-member
and addtestuser
as a member with the roleManage Project Members
- Create a project called
proj-view-member
and addtestuser
as a member with the roleView Project Members
- Create a project called
proj-view-catalog
and addtestuser
as a member with the roleView Project Catalog
- login as
testuser
and check UI for edit config for each project
Result Several inconsistencies with UI being enabled, especially for managing members, where the edit interface is available when it shouldn't be
Expected Result
2) Edit interface for both Project
and Members
available and unblocked for input
3) Edit interface for Members
available and unblocked for input, Project
interface blocked for input
4) Edit interface for both Project
and Members
blocked for input
4) Edit interface fore Members
not available, Project
interface blocked for input
BE issue to tackle this: https://github.com/rancher/rancher/issues/34731
This has been moved to 2.7, according to latest updates on the issue. Shall we move the FE part to 2.7?
@nwmac @gaktive
@aalves08 we shall bump too if we're dependent on it.
Backend pushed their work to 2.7.x. I'll push this to 2.7.1 and check in later.
Thanks for the update @gaktive 🙏
Related issue https://github.com/rancher/dashboard/issues/3609
Possible way forward via SURE-6164