1

In my googling, I've only came across statements that state that @all "includes all users and repos"

I'd like to use @all to provide daemon access, that is

repo @all
   R = daemon

But I'm concerned that would provide read access to the gitolite-admin repo.

paulluap
  • 33
  • 4

1 Answers1

1

Yes, it will allow access to all repos.

However, you can prevent this, as documented:

@secret = gitolite-admin secret-repo/..*
repo @secret
    -   =   daemon
    option deny-rules = 1

repo @all
    R   =   daemon

Note that the order matters in this case.

Sven
  • 98,649
  • 14
  • 180
  • 226