浏览代码

HUE-2529 [useradmin] Bump up LDAP Sync group name character limit to 256

krish 11 年之前
父节点
当前提交
0e1e53f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      apps/useradmin/src/useradmin/forms.py

+ 3 - 3
apps/useradmin/src/useradmin/forms.py

@@ -198,9 +198,9 @@ class AddLdapUsersForm(forms.Form):
 class AddLdapGroupsForm(forms.Form):
   groupname_pattern = forms.CharField(
       label=_t("Name"),
-      max_length=80,
-      help_text=_t("Required. 80 characters or fewer."),
-      error_messages={'invalid': _t("80 characters or fewer.") })
+      max_length=256,
+      help_text=_t("Required. 256 characters or fewer."),
+      error_messages={'invalid': _t("256 characters or fewer.") })
   dn = forms.BooleanField(label=_t("Distinguished name"),
                           help_text=_t("Whether or not the group should be imported by "
                                     "distinguished name."),