5
# this is hardcoded; change it if needed
10
# ----------------------------------------------------------------------
15
DEF GOOD = /refs/\\.\\*/
18
DEF Ryes = gitolite access %1 %2 R any; ok; GOOD
19
DEF Rno = gitolite access %1 %2 R any; !ok; BAD
21
DEF Wyes = gitolite access %1 %2 W any; ok; GOOD
22
DEF Wno = gitolite access %1 %2 W any; !ok; BAD
24
DEF GWyes = Ryes %1 gitweb
25
DEF GWno = Rno %1 gitweb
27
DEF GDyes = Ryes %1 daemon
28
DEF GDno = Rno %1 daemon
39
try "ADMIN_PUSH set1; !/FATAL/" or die text();
61
try "ADMIN_PUSH set1; !/FATAL/" or die text();
82
- = u2 u3 gitweb daemon
86
try "ADMIN_PUSH set1; !/FATAL/" or die text();
97
try "ADMIN_PUSH set1; !/FATAL/" or die text();
104
# set 3 -- allow gitweb to all but admin repo
109
option deny-rules = 1
116
try "ADMIN_PUSH set1; !/FATAL/" or die text();
125
# set 4 -- allow gitweb to all but admin repo
135
try "ADMIN_PUSH set1; !/FATAL/" or die text();
158
option deny-rules = 1
160
try "ADMIN_PUSH set1; !/FATAL/" or die text();
163
glt ls-remote u1 file:///foo/one
164
glt ls-remote u2 file:///bar/two