You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by weand <gi...@git.apache.org> on 2017/02/23 22:14:56 UTC

[GitHub] zeppelin pull request #2061: ZEPPELIN-2161 Nested Group Support in LdapRealm...

GitHub user weand opened a pull request:

    https://github.com/apache/zeppelin/pull/2061

    ZEPPELIN-2161 Nested Group Support in LdapRealm for AD

    ### What is this PR for?
    A common use case in LDAP/AD setup is the hierarchical structuring of
    groups - a.k.a. adding groups to other groups. Such nesting groups can
    help reduce the number of roles that need to be managed.
    
    Current zeppelin realm implementations doesn't have support for looking
    up memberships throughout nested group structures.
    
    E.g. consider the following nested group scenario:
    ```
    acme_employees
     \__department_a
         \__sub_department_x
    ```
    User 'bob' is in Group 'sub_department_x'.
    Notebook 'note1' has a Reader Role assignment for 'department_a' or
    'acme_employees'.
    Then access must be granted for 'bob' on 'note1'.
    
    In AD enviroments this scenarios can be efficiently implemented using
    the so called LDAP_MATCHING_RULE_IN_CHAIN operator
    '1.2.840.113556.1.4.1941'.
    
    This PR introduces a property 'groupSearchEnableMatchingRuleInChain' to
    org.apache.zeppelin.realm.LdapRealm which defaults to false. If enabled,
    all roles of potential nested group hierarchies will be resolved using
    the LDAP_MATCHING_RULE_IN_CHAIN operator.
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    -
    
    ### What is the Jira issue?
    [ZEPPELIN-2161]
    
    ### How should this be tested?
    Set groupSearchEnableMatchingRuleInChain = true for the ldap realm.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? n
    * Is there breaking changes for older versions? n
    * Does this needs documentation? y

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/weand/zeppelin master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2061.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2061
    
----
commit f312f1134d40c7f9a28a1235c952bd85393bbb76
Author: Andreas Weise <a....@avm.de>
Date:   2017-02-23T21:55:06Z

    ZEPPELIN-2161 Nested Group Support in LdapRealm for AD
    
    ### What is this PR for?
    A common use case in LDAP/AD setup is the hierarchical structuring of
    groups - a.k.a. adding groups to other groups. Such nesting groups can
    help reduce the number of roles that need to be managed.
    Current zeppelin realm implementations doesn't have support for looking
    up memberships throughout nested group structures.
    E.g. consider the following nested group scenario:
    acme_employees
     \__department_a
         \__sub_department_x
    User 'bob' is in Group 'sub_department_x'.
    Notebook 'note1' has a Reader Role assignment for 'department_a' or
    'acme_employees'.
    Then access must be granted for 'bob' on 'note1'.
    In AD enviroments this scenarios can be efficiently implemented using
    the so called LDAP_MATCHING_RULE_IN_CHAIN operator
    '1.2.840.113556.1.4.1941'.
    
    This PR introduces a property 'groupSearchEnableMatchingRuleInChain' to
    org.apache.zeppelin.realm.LdapRealm which defaults to false. If enabled,
    all roles of potential nested group hierarchies will be resolved using
    the LDAP_MATCHING_RULE_IN_CHAIN operator.
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    -
    
    ### What is the Jira issue?
    [ZEPPELIN-2161]
    
    ### How should this be tested?
    Set groupSearchEnableMatchingRuleInChain = true for the ldap realm.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? n
    * Is there breaking changes for older versions? n
    * Does this needs documentation? y

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #2061: ZEPPELIN-2161 Nested Group Support in LdapRealm...

Posted by weand <gi...@git.apache.org>.
Github user weand closed the pull request at:

    https://github.com/apache/zeppelin/pull/2061


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin issue #2061: ZEPPELIN-2161 Nested Group Support in LdapRealm for AD

Posted by weand <gi...@git.apache.org>.
Github user weand commented on the issue:

    https://github.com/apache/zeppelin/pull/2061
  
    any idea why the build has failed?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---