|
|
|
|
|
by klodolph
2614 days ago
|
|
How do you prevent users from reading certain parts of the repository, though? This was what I meant by "there's only so much you can add"... you can reject pushes that change parts of the repo, but you can't prevent reads without breaking everything. |
|
I don't understand, you can lie to git-upload-pack and send anything you want to the user?
but when we used gitolite, we put sensitive stuff in a separate server and restricted reads to trusted users/deployment tools
edit oh I see, you want to let some people clone the repo but with some stuff redacted and still be able to make changes to the non-redacted stuff. I'd used LFS and move the ACLs to the file server, if using a single repo was a hard requirement