Github user nazgul33 commented on the issue:

    https://github.com/apache/zeppelin/pull/1513
  
    @gss2002 can you explain how to map ldap groups to shiro roles?
    What i'm trying to do is to configure user rights to notebooks.
    
    ```
    shiro.ini
    ----
    ldapADGCRealm.userObjectClass = posixAccount
    ldapADGCRealm.groupObjectClass = posixGroup
    ldapADGCRealm.memberAttribute = memberUid
    ldapADGCRealm.rolesByGroup = \
            dataservice:admin, \
            woowabros:woowabros
    
    securityManager.realms = $ldapADGCRealm
    
    [roles]
    admin = *
    woowabros = *
    
    ```
    Added "testuser" in group "woowabros" by setting memberUid attribute of 
woowabros.
    if I access a notebook with security setup
    owner = nazgul33
    read = woowabros
    
    an error pops out like this
    
    > Insufficient privileges to read notebook.
    > 
    > Allowed users or roles: [woowabros]
    > 
    > But the user testuser belongs to: [testuser]


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to