Skip to content

Commit 9d1a347

Browse files
Merge pull request ericvaandering#103 from ericvaandering/group_admin_bug
Fix a bug in group administration
2 parents 4e5b406 + 1533d0a commit 9d1a347

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DocDB/cgi/GroupAdminister

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ my $RemoveChildren = $Untaint -> extract(-as_printable => "removesubs") || "";
6565

6666
if ($View) {$View = 1;} # Make sure they are in format MySQL is expecting
6767
if ($Create) {$Create = 1;}
68-
if ($Admin) {$Admin = 1;}
68+
if ($Admin) {$Admin = 1;} else {$Admin = 0;}
6969
if ($NoPerm) {$NoPerm = 1;}
7070
if ($RemoveChildren) {$RemoveChildren = 1;}
7171

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN yum install -y httpd mod_ssl \
1515

1616
# Jobber is a lightweight cron replacement written in Go
1717
RUN rpm -i https://github.com/dshearer/jobber/releases/download/v1.4.4/jobber-1.4.4-1.el8.x86_64.rpm
18+
ADD dot-jobber.yaml /root/.jobber
1819

1920
# j2cli is used for templating config files which will be useful for passing environment variables
2021
RUN pip install --no-cache-dir --upgrade pip
@@ -31,5 +32,4 @@ RUN mkdir -p /var/www/cgi-bin/DocDB && cp DocDB/DocDB/cgi/* /var/www/cgi-bin/Doc
3132
RUN mkdir -p /var/www/html/DocDB/Static/ && cp -R /DocDB/DocDB/html/css/ /DocDB/DocDB/html/js/ /DocDB/DocDB/html/img/ /var/www/html/DocDB/Static/
3233

3334
ADD docker-entrypoint.sh /
34-
ADD dot-jobber.yaml /root/.jobber
3535
ENTRYPOINT ["/docker-entrypoint.sh"]

0 commit comments

Comments
 (0)