-
The branch protection rule serves this purpose. As long as you require some other one to review the change, users applicable for the rule will not be able to update target branches directly.
-
Previous Value Current Value Open
Closed
-
No problem. Closing the issue now
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Currenlty, there's no way for repo owner (correct me if I'm wrong) to give an user privilege to commit to any branch except for master/main. We need something similar to "developer" repo role on gitlab https://docs.gitlab.com/ee/user/permissions.html
There're branch protection rules, but there's no way to use them to prohibit user to update master/main branch