whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: authorize owners
Date Wed, 18 Jan 2017 16:23:06 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  cc14de2   authorize owners
cc14de2 is described below

commit cc14de20ee3bc61766f6bd7e97a2102e9ce82c8f
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Jan 18 11:22:50 2017 -0500

    authorize owners
---
 www/roster/views/ppmc/main.js.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index cca24b1..83374ca 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -4,7 +4,8 @@
 
 class PPMC < React
   def render
-    auth = @@auth and (@@auth.secretary or @@auth.root)
+    auth = @@auth and (@@auth.secretary or @@auth.root or
+      @@pmc.owners.include? auth.id)
 
     # header
     _h1 do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message