You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/01/18 16:23:06 UTC
[whimsy] branch master updated: authorize owners
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 <ru...@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" <co...@whimsical.apache.org>'].