[etherpad-web] Protected the Governance Committee's pad
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [etherpad-web] Protected the Governance Committee's pad
- Date: Wed, 10 Mar 2021 12:27:28 +0000 (UTC)
commit e5b818852e16a3eebda7a219be7dc6559ac04528
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Mar 10 13:27:06 2021 +0100
Protected the Governance Committee's pad
httpd/app_data/httpd-cfg/etherpad.gnome.org.conf | 6 ++++++
httpd/app_data/httpd-pre-init/set-htaccess-passwords.sh | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/httpd/app_data/httpd-cfg/etherpad.gnome.org.conf
b/httpd/app_data/httpd-cfg/etherpad.gnome.org.conf
index a156941..104d52f 100644
--- a/httpd/app_data/httpd-cfg/etherpad.gnome.org.conf
+++ b/httpd/app_data/httpd-cfg/etherpad.gnome.org.conf
@@ -71,4 +71,10 @@
AuthUserFile /opt/app-root/src/boardonly.htaccess
Require valid-user
</Location>
+ <Location /p/GovernanceCommittee>
+ AuthType Basic
+ AuthName "Welcome to GNOME's Etherpad"
+ AuthUserFile /opt/app-root/src/governance.htaccess
+ Require valid-user
+ </Location>
</VirtualHost>
diff --git a/httpd/app_data/httpd-pre-init/set-htaccess-passwords.sh
b/httpd/app_data/httpd-pre-init/set-htaccess-passwords.sh
index 548bc26..db0a221 100755
--- a/httpd/app_data/httpd-pre-init/set-htaccess-passwords.sh
+++ b/httpd/app_data/httpd-pre-init/set-htaccess-passwords.sh
@@ -1,7 +1,7 @@
#!/bin/bash
APP_ROOT=/opt/app-root/src
-PROTECTED_PADS=('adboard' 'board' 'codeofconduct' 'edsearch' 'marketing' 'releaseteam' 'boardonly')
+PROTECTED_PADS=('adboard' 'board' 'codeofconduct' 'edsearch' 'marketing' 'releaseteam' 'boardonly'
'governance')
for pad_name in "${PROTECTED_PADS[@]}"; do
echo "${pad_name}:${pad_name}_to_replace" > $APP_ROOT/$pad_name.htaccess
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]