You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/02/14 13:38:30 UTC

[whimsy] branch master updated: Wrong attribute; need owners here

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 58ef99f  Wrong attribute; need owners here
58ef99f is described below

commit 58ef99f64d0d10b254cb062f7fd5219f40e1fb61
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 14 13:38:29 2019 +0000

    Wrong attribute; need owners here
---
 www/roster/main.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/main.rb b/www/roster/main.rb
index c25bc88..7db03d6 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -216,7 +216,7 @@ get '/ppmc/:name' do |name|
   @auth = Auth.info(env)
 
   user = ASF::Person.find(env.user)
-  @auth[:ipmc] = ASF::Committee.find('incubator').members.include? user
+  @auth[:ipmc] = ASF::Committee.find('incubator').owners.include? user
 
   @ppmc = PPMC.serialize(name, env)
   pass unless @ppmc