Is there any way to give user permissions for specfic files in a GITLAB-Repository
? I want to give a user access to only one directory in my repository.
GitLab Version: 8.1.3
You can protect a branch in GitLab, but not a full repo: if a user can see a repo, he/she can clone it all.
The easiest workaround would be to setup a separate repo with only the content of that directory in it, for you to monitor and extract a patch whenever something changes in the folder:
git format-patch master --stdout > a_folder.patch
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