Write rule for gitolite.conf

8 views
Skip to first unread message

Ismaël Bouya

unread,
Sep 22, 2021, 4:49:57 AM9/22/21
to gitolite

Hi!

I’m considering this situation:
I wan to give push access to personal/USER/ to a list of users for every repository I have, but only if they already had (at least) read access to the repository.

Is that something I can do? I thought of adding that at the top of my file:
```
repo @all
  W+ personal/USER/ = @the_user_group
```

But of course I cannot set a write-only rule (and it means being able to push to the repository’s branch even if you couldn’t clone it before)
Reply all
Reply to author
Forward
0 new messages