Morten Linderud via arch-dev-public <[email protected]> on Thu,
2019/03/14 01:02:
> This is why we have talked about adding gitolite to host these repositories

I've wanted to propose this a long time ago...

In fact you can give every user full access to it own area in every
repository, while important branches are still protected. I have several git
servers that use something like this:

repo devtools
        RW+                                     = admin
        RW+     personal/USER/ general/         = @all
        RW      master$ develop$ refs/tags/     = @devtools
        R                                       = @all

-> admin can do everything
-> random user 'foo' can do everything in personal/foo/ and general/
-> random user 'bar' can do everything in personal/bar/ and general/
-> members of group 'devtools' can push to master and develop and push tags,
   but forced push is denied
-> random (authenticated) user can read everything
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

Attachment: pgpXP18cAl9FK.pgp
Description: OpenPGP digital signature

Reply via email to