gl-auth: R_COMMANDS adds "git-upload-archive"
This commit is contained in:
parent
dd13de2d14
commit
62d89bf8f8
|
@ -42,7 +42,7 @@ die "couldnt do perms file" unless (my $ret = do $GL_CONF_COMPILED);
|
||||||
# definitions specific to this program
|
# definitions specific to this program
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
my $R_COMMANDS=qr/^git[ -]upload-pack$/;
|
my $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/;
|
||||||
my $W_COMMANDS=qr/^git[ -]receive-pack$/;
|
my $W_COMMANDS=qr/^git[ -]receive-pack$/;
|
||||||
my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue