This is an automated email from the ASF dual-hosted git repository.
rubys 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 6ac5277 attempt to fix WHIMSY-383
6ac5277 is described below
commit 6ac5277a7288df9cfb0dc73669f786bb2847bed3
Author: Sam Ruby <[email protected]>
AuthorDate: Tue Mar 8 04:00:57 2022 -0500
attempt to fix WHIMSY-383
---
www/roster/models/committer.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/roster/models/committer.rb b/www/roster/models/committer.rb
index b0dc16b..23283b7 100644
--- a/www/roster/models/committer.rb
+++ b/www/roster/models/committer.rb
@@ -131,8 +131,8 @@ class Committer
if auth[:member] # i.e. member karma
- if person.icla and person.icla.claRef and auth[:secretary] # Not all
people have iclas (only check if secretary role)
- file = ASF::ICLAFiles.match_claRef(person.icla.claRef) # must be
secretary
+ if person.icla and person.icla.claRef and (auth[:secretary] or
auth[:root]) # Not all people have iclas (only check if secretary or root role)
+ file = ASF::ICLAFiles.match_claRef(person.icla.claRef) # must be
secretary or root
if file
url =ASF::SVN.svnurl('iclas')
response[:forms][:icla] = "#{url}/#{file}"