whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: += RoleGroup
Date Wed, 28 Nov 2018 20:50:45 GMT
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 9c79102  += RoleGroup
9c79102 is described below

commit 9c7910226b76131ff83cfb8b6eac20ed37613876
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Nov 28 20:50:30 2018 +0000

    += RoleGroup
---
 lib/whimsy/asf/ldap.rb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index c4b6f55..60a2fd1 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -1551,6 +1551,12 @@ module ASF
   class AuthGroup < Service
     @base = 'ou=auth,ou=groups,dc=apache,dc=org'
   end
+
+  # <tt>ou=role</tt> subtree of <tt>ou=groups,dc=apache,dc=org</tt>,
used for
+  # committers (new) group only currently
+  class RoleGroup < Service
+    @base = 'ou=role,ou=groups,dc=apache,dc=org'
+  end
 end
 
 if __FILE__ == $0
@@ -1561,4 +1567,5 @@ if __FILE__ == $0
     print ASF::Committee[w].isGuineaPig?,' '
     puts ASF::Committee.isGuineaPig?(w)   
   end
+  ASF::RoleGroup.list.map {|g| puts ASF::RoleGroup.find(g).dn}
 end


Mime
View raw message