This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new ce0011c  Auth sets :pmc_chair, not :chair
ce0011c is described below

commit ce0011c4afcb516e6c435fea5a04fcbaf31bcc4d
Author: Sebb <[email protected]>
AuthorDate: Sat Jun 13 17:23:35 2020 +0100

    Auth sets :pmc_chair, not :chair
---
 www/roster/main.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/roster/main.rb b/www/roster/main.rb
index d6fe5e2..258d776 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -114,7 +114,7 @@ end
 get '/committer2/' do
   @auth = Auth.info(env)
   # Restrict who can see this
-  pass unless @auth[:member] or @auth[:chair]
+  pass unless @auth[:member] or @auth[:pmc_chair]
   @notinavail = true
   _html :committers
 end
@@ -125,7 +125,7 @@ index2_etag = nil
 get '/committer2/index.json' do
   @auth = Auth.info(env)
   # Restrict who can see this
-  pass unless @auth[:member] or @auth[:chair]
+  pass unless @auth[:member] or @auth[:pmc_chair]
   # recompute index if the data is 5 minutes old or older
   index2 = nil if not index2_time or Time.now-index2_time >= 300
 
@@ -207,7 +207,7 @@ end
 get '/icla/' do
   @auth = Auth.info(env)
   # Restrict who can see this
-  pass unless @auth[:member] or @auth[:chair]
+  pass unless @auth[:member] or @auth[:pmc_chair]
   _html :iclas
 end
 
@@ -217,7 +217,7 @@ icla_index_etag = nil
 get '/icla/index.json' do
   @auth = Auth.info(env)
   # Restrict who can see this
-  pass unless @auth[:member] or @auth[:chair]
+  pass unless @auth[:member] or @auth[:pmc_chair]
   # recompute icla_index if the data is 5 minutes old or older
   icla_index = nil if not icla_index_time or Time.now-icla_index_time >= 300
 

Reply via email to