1

Is it possible to set up gitolite acls to allow a user to read, write, and push, but not to delete branches?

rlandster
  • 7,294
  • 14
  • 58
  • 96

1 Answers1

0

You should be able to use as a general rule for all repositories:

repo @all
    RWCD dummy-branch = foo

The 'D' is a "deletion" type of permission, which will authorize the deletion of a dummy-branch, but will make all your existing RW+ rule deny deletion (because they don't have a 'D')

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250