Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 gitolite 设置,我的 gitolite.conf 文件看起来像,
@myrepos = test @myrepos = proj1 proj2 repo @myrepos RW+ = user1 user2 user3 user4
现在,我想单独授予新用户“user5”对“proj2”的访问权限。有没有办法在 gitolite 中做到这一点而不从组中删除回购?
如果我要从组中删除 repo“proj2”以单独放置它,那会破坏什么吗?
您可以为 user5 和 proj2 定义另一个规则,这意味着您不必修改myrepos组。
myrepos
repo @myrepos RW+ = user1 user2 user3 user4 repo proj2 RW+ = user5