Prevent UI access to members on projects if they don't have the correct permissions
To Reproduce
- Create a user
testuseras a standard user - Create a project called
proj-ownerand addtestuseras a member with the roleProject Owner - Create a project called
proj-manage-memberand addtestuseras a member with the roleManage Project Members - Create a project called
proj-view-memberand addtestuseras a member with the roleView Project Members - Create a project called
proj-view-catalogand addtestuseras a member with the roleView Project Catalog - login as
testuserand 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
Waiting on https://github.com/rancher/dashboard/issues/5722 for this to possibly move forward (will need re-evaluation)
@aalves08 Can this be closed? Blocking issue is still open (https://github.com/rancher/dashboard/issues/5722) and has been tracked for a possible solution via SURE-6164
Yes, let's do it. This PR is so old that we wouldn't be able to use it anyway.