-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Repository - Settings Workflow
-
None
-
Severity 3 - Minor
Issue Summary
When removing a user from the "Merge via pull requests" permission using the API, if you click on the edit button, you will see the user still populated there.
Steps to Reproduce
- Create a branch restriction
- Add the same user to "Merge via pull requests" and "Write access"
- Use the API to remove the user from "Merge via pull requests" using the following example body:
{ "kind": "restrict_merges", "type": "branchrestriction", "pattern": "main" }
- Observe in the UI that the "Merge via pull requests" will have a value of none.
- Click on the "edit" button
Expected Results
The expected is to see the field empty
Actual Results
The removed user will still appear, but grayed out.
Workaround
This is just a UI bug, it doesn't affect functionality and the removed user won't be able to merge any PRs.