diff options
author | tv <tv@krebsco.de> | 2018-02-14 23:27:37 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-02-14 23:27:37 +0100 |
commit | 3a3e168c8a5731038a7fd05808f7ebdf73b1abe8 (patch) | |
tree | 4eed65296fe04197fdfc248f01f1928b99ed6a3c | |
parent | 00a4ff15cd413e9eaa82a10b344c176bafdb00c1 (diff) |
tv gitrepos: drop redundant fetch permissions
Everybody already has permission to fetch via HTTP.
-rw-r--r-- | tv/2configs/gitrepos.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tv/2configs/gitrepos.nix b/tv/2configs/gitrepos.nix index 2c4b4868e..dc50be4f1 100644 --- a/tv/2configs/gitrepos.nix +++ b/tv/2configs/gitrepos.nix @@ -128,11 +128,6 @@ let { repo = [ repo ]; perm = push "refs/*" [ non-fast-forward create delete merge ]; } ++ - optional repo.public { - user = attrValues config.krebs.users; - repo = [ repo ]; - perm = fetch; - } ++ optional (repo.collaborators or [] != []) { user = repo.collaborators; repo = [ repo ]; |