Gitolite permissions on branches

前端 未结 2 667
感动是毒
感动是毒 2020-12-08 12:13

I\'m really at a loss here. I\'ve read through quite a few examples, and tried all of them. The most basic ones work fine, but anytime I try to move to something a bit more

2条回答
  •  执念已碎
    2020-12-08 12:35

    My config, that is working now:

    @gatekeepers = ustimenko
    @developers  = ustimenko user1 user2
    @deployers   = puppet
    
    @project     = repo1
    @project     = cakephp
    
    repo @project
        RW+                 = @gatekeepers  
        R   master develop  = @developers
        -   master develop  = @developers
        RW+                 = @developers
        R                   = @deployers
    

    1. Gatekeepers have full access.
    2. Developers can read master and develop branches, then they denied other actions there.
    3. Developers can do all other things.
    4. Deployers can read all.

提交回复
热议问题