Prechádzať zdrojové kódy

HUE-8079 [core] Enable sync groups on login by default

Ying Chen 7 rokov pred
rodič
commit
4e4850c

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -439,7 +439,7 @@
     ## create_users_on_login = true
 
     # Synchronize a users groups when they login
-    ## sync_groups_on_login=false
+    ## sync_groups_on_login=true
 
     # Ignore the case of usernames when searching for existing users in Hue.
     ## ignore_username_case=true

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -443,7 +443,7 @@
     ## create_users_on_login = true
 
     # Synchronize a users groups when they login
-    ## sync_groups_on_login=false
+    ## sync_groups_on_login=true
 
     # Ignore the case of usernames when searching for existing users in Hue.
     ## ignore_username_case=true

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -1002,7 +1002,7 @@ LDAP = ConfigSection(
     SYNC_GROUPS_ON_LOGIN = Config("sync_groups_on_login",
       help=_("Synchronize a users groups when they login."),
       type=coerce_bool,
-      default=False),
+      default=True),
     IGNORE_USERNAME_CASE = Config("ignore_username_case",
       help=_("Ignore the case of usernames when searching for existing users in Hue."),
       type=coerce_bool,