[etherpad-web/oscp-frontend] Protected the Governance Committee's pad
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [etherpad-web/oscp-frontend] Protected the Governance Committee's pad
- Date: Wed, 10 Mar 2021 12:48:15 +0000 (UTC)
commit 89ad36886745cd9e1c2c76fb3257485d5a173646
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Mar 10 13:27:06 2021 +0100
Protected the Governance Committee's pad
app_data/httpd-cfg/etherpad.gnome.org.conf | 6 ++++++
app_data/httpd-pre-init/set-htaccess-passwords.sh | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/app_data/httpd-cfg/etherpad.gnome.org.conf b/app_data/httpd-cfg/etherpad.gnome.org.conf
index 707ddd5..f3e2509 100644
--- a/app_data/httpd-cfg/etherpad.gnome.org.conf
+++ b/app_data/httpd-cfg/etherpad.gnome.org.conf
@@ -64,4 +64,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/app_data/httpd-pre-init/set-htaccess-passwords.sh
b/app_data/httpd-pre-init/set-htaccess-passwords.sh
index 548bc26..db0a221 100755
--- a/app_data/httpd-pre-init/set-htaccess-passwords.sh
+++ b/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]