Roles select must be limited to disallow permission increases #2963
Labels
Priority:p2-high
Escalation, on top of current planning, release blocker
Type:Bug
Something isn't working
Steps
Expected result
The roles dropdown should not allow selecting anything else than "Viewer".
Maybe if there's only a single entry, don't even show the dropdown and keep a single entry.
Maybe grey out the other entries in the dropdown so we know they exist but cannot be selected.
Actual result
All entries are visible and can be selected.
Saving will leave the dialog with an error "Cannot set the requested share permissions for test".
Side note: when catching such error in general, the "add collaborator" dialog must not disappear!
Version
v0.3.0
@kulmann FYI as we observed this during our recent work.
cc @pmaier1
The text was updated successfully, but these errors were encountered: