I'm essentially seeking for a way to manage write permissions to specific branches.
This can be either before committing (local), or after committing but before pushing (remote).
I need to protect certain branches from being written to in order to enforce a workflow where the release branch can only be edited by some.
Enabled and properly configured ACL Extension can be an answer in your case
ACL Extension would do it
regarding branches however:
You cannot limit read access to a subset of a repository with a read rule and a file condition: any user who has access to a repository can read all of it and its full history.
But you can disallow push.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With