On Tue, Apr 18, 2017 at 3:34 PM, Craig Russell <[email protected]> wrote:
>
> So my proposal for changing the current behavior:
>
> If field 5 is disabled for any reason, verify that ldap is either missing or 
> banned. I don't see the need to distinguish these two cases.

Looks like the code already works that way:

ASF::Person.find('badactor').banned?
=> true

So the following code should do what you are asking:

https://github.com/apache/whimsy/commit/0be74d0f094ba735d11b8609ec64aafb20010ddd

- Sam Ruby

Reply via email to