HUE-1860 [core] sync ldap group memberships upon login

Review Request #4186 — Created Feb. 26, 2014 and submitted

abec
old-hue-rw
HUE-1860
hue
enricoberti, romain
commit 68895f6ac77bf2b84f53c9c1a7f23d6252703407
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Wed Feb 26 15:02:04 2014 -0800

    HUE-1860 [core] sync ldap group memberships upon login
    
    Add logic to the LdapBackend.
    Add tests for LdapBackend.

:100644 100644 90e04fe... 00ef341... M	desktop/core/src/desktop/auth/backend.py
:100644 100644 3672126... f04269e... M	desktop/core/src/desktop/auth/views_test.py
:100644 100644 eadd374... 416c45c... M	desktop/core/src/desktop/conf.py
Added more tests and ran them!
  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
romain
  1. Nice!
  2. desktop/core/src/desktop/conf.py (Diff revision 1)
     
     
     
     
     
    + both hue.ini configs?
    1. + should we name is SYNC_... instead of IMPORT_... as I though that we are also removing the user from the groups he does not belong too?
    2. This is true. Let's change it then.
  3. desktop/core/src/desktop/conf.py (Diff revision 1)
     
     
    Sync the groups of a user when he logs in. 
    
    ?
  4. 
      
abec
abec
Review request changed

Status: Closed (submitted)

Loading...