You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "John D. Ament" <jo...@apache.org> on 2017/06/09 11:01:49 UTC

Raphael Bircher couldn't add himself to Weex

App 13086 stderr: _WARN [#<LDAP::Mod:0x7f27c0defaf0 LDAP_MOD_ADD
App 13086 stderr: {"owner"=>["uid=rbircher,ou=people,dc=apache,dc=org"]}>]
App 13086 stderr: _WARN cn=weex,ou=project,ou=groups,dc=apache,dc=org
App 13086 stderr: _ERROR #<LDAP::ResultError: Insufficient access>
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:235:in
`modify'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:235:in
`modify'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:812:in
`add_owners'
App 13086 stderr: _WARN
/x1/srv/whimsy/www/roster/views/actions/ppmc.json.rb:13:in `block in
_evaluate'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:122:in
`bind'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:122:in
`bind'
App 13086 stderr: _WARN
/x1/srv/whimsy/www/roster/views/actions/ppmc.json.rb:7:in `_evaluate'
App 13086 stderr: _WARN   /x1/srv/whimsy/www/roster/main.rb:172:in `block
in <top (required)>'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:191:in
`call'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:40:in `call'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:172:in
`call'
App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:218:in
`call'
App 13086 stderr: _WARN
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in
`process_request'
App 13086 stderr: _WARN
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in
`accept_and_process_next_request'
App 13086 stderr: _WARN
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in
`main_loop'
App 13086 stderr: _WARN
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in
`block (3 levels) in start_threads'
App 13086 stderr: _WARN
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/utils.rb:113:in
`block in create_thread_and_abort_on_exception'
App 13086 stderr: 178.197.225.143 - rbircher [09/Jun/2017:10:54:20 +0000]
"POST /actions/ppmc HTTP/1.1" 500 - 0.7130

Raphael is on the IPMC, but is not a foundation member.  I'm not sure if
this is related.

Re: Raphael Bircher couldn't add himself to Weex

Posted by Sam Ruby <ru...@intertwingly.net>.
Thanks!  I'll fix.

Just to state what the plans and issue is:

1) We are not there yet, but every officer, ASF member, and member of
a project should be able to update the roster for a project.  This
should soon be true both for podlings and PMCs, but at the moment is
only true for podlings and the incubator.  I'm going to do whimsy
next.

2) Every member of the IPMC should be able to update the list of
mentors.  By default being added as a mentor will cause the individual
to be added to the roster for the podling.

This does mean that non-member non-officers will need somebody (either
a member, an officer, or member of the PPMC) to complete the action if
they add themselves as a mentor.

At the moment, the code doesn't check for this condition, an IPMC
member who adds a mentor will attempt to add this individual to the
roster.  I need to stop the updating of the roster from being
attempted if the individual is not authorized to perform this action.
I'll also inform the individual taking the action of this in the
confirmation dialog.

Mostly because I don't know how to express to LDAP that IPMC members
should be able to update rosters for projects whose current state is a
podling.

I'm also going to add a page to the member watch list to list all
mentors that are not ASF members.

- Sam Ruby



On Fri, Jun 9, 2017 at 7:01 AM, John D. Ament <jo...@apache.org> wrote:
> App 13086 stderr: _WARN [#<LDAP::Mod:0x7f27c0defaf0 LDAP_MOD_ADD
> App 13086 stderr: {"owner"=>["uid=rbircher,ou=people,dc=apache,dc=org"]}>]
> App 13086 stderr: _WARN cn=weex,ou=project,ou=groups,dc=apache,dc=org
> App 13086 stderr: _ERROR #<LDAP::ResultError: Insufficient access>
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:235:in
> `modify'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:235:in
> `modify'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:812:in
> `add_owners'
> App 13086 stderr: _WARN
> /x1/srv/whimsy/www/roster/views/actions/ppmc.json.rb:13:in `block in
> _evaluate'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:122:in
> `bind'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/ldap.rb:122:in
> `bind'
> App 13086 stderr: _WARN
> /x1/srv/whimsy/www/roster/views/actions/ppmc.json.rb:7:in `_evaluate'
> App 13086 stderr: _WARN   /x1/srv/whimsy/www/roster/main.rb:172:in `block
> in <top (required)>'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:191:in
> `call'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:40:in `call'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:172:in
> `call'
> App 13086 stderr: _WARN   /x1/srv/whimsy/lib/whimsy/asf/rack.rb:218:in
> `call'
> App 13086 stderr: _WARN
> /usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in
> `process_request'
> App 13086 stderr: _WARN
> /usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in
> `accept_and_process_next_request'
> App 13086 stderr: _WARN
> /usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in
> `main_loop'
> App 13086 stderr: _WARN
> /usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in
> `block (3 levels) in start_threads'
> App 13086 stderr: _WARN
> /usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/utils.rb:113:in
> `block in create_thread_and_abort_on_exception'
> App 13086 stderr: 178.197.225.143 - rbircher [09/Jun/2017:10:54:20 +0000]
> "POST /actions/ppmc HTTP/1.1" 500 - 0.7130
>
> Raphael is on the IPMC, but is not a foundation member.  I'm not sure if
> this is related.