I am trying to set up access control per repo only (with the three permissions no-access, read-only, read/write). I am having an external application control it, which makes syncing admin git repos (such as what gitosis and gitolite provide) not practical.
What would work perfectly is a setup that would allow me to simply call system commands to grant users (ssh keys) access, create repos, and delete repos. for example:
git-acl grant R user1.pub /path/to/repo.git
- Grants user1 read-only access on the repo
git-acl grant RE user2.pub /path/to/repo.git
- Grants user2 read/write access on the repo
git-acl create /path/to/repo2.git
- Creates repo
etc...
Does anyone know of a tool like this?
It seems like basic ssh and file-system access control is the traditional way to accomplish what you are asking.
See https://wincent.com/wiki/Git_repository_access_control
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