[etherpad-web/oscp-frontend] Add password protection to the finance-ctte pad



commit ff6a59c5674a5a8a47c32ed5d724a7a613bd9620
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Mar 29 11:35:20 2021 +0200

    Add password protection to the finance-ctte 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 f3e2509..9bdbcfd 100644
--- a/app_data/httpd-cfg/etherpad.gnome.org.conf
+++ b/app_data/httpd-cfg/etherpad.gnome.org.conf
@@ -70,4 +70,10 @@
    AuthUserFile /opt/app-root/src/governance.htaccess
    Require valid-user
  </Location>
+ <Location /p/finance-ctte>
+   AuthType Basic
+   AuthName "Welcome to GNOME's Etherpad"
+   AuthUserFile /opt/app-root/src/finance.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 db0a221..5f1365b 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' 
'governance')
+PROTECTED_PADS=(adboard board codeofconduct edsearch marketing releaseteam boardonly governance finance)
 
 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]