feat: add LDAP custom filter support (#1719)

* refactor: improve ldap server code

* feat: custom filter

* fix: fix displayName mapping

* feat: add custom filter search fields

* chore: add license

* chore: i18n

* chore: i18n

* chore: update init field
This commit is contained in:
Yaodong Yu
2023-04-13 14:12:31 +08:00
committed by GitHub
parent 968d8646b2
commit 1b1de1dd01
33 changed files with 826 additions and 625 deletions

View File

@ -117,6 +117,15 @@
"Scope - Tooltip": "公钥证书的使用场景",
"Type - Tooltip": "公钥证书的类型"
},
"chat": {
"Edit Chat": "Edit Chat",
"Message count": "Message count",
"New Chat": "New Chat",
"Sub users": "Sub users",
"Sub users - Tooltip": "Sub users - Tooltip",
"User1": "User1",
"User2": "User2"
},
"code": {
"Code you received": "验证码",
"Email code": "邮箱验证码",
@ -151,6 +160,7 @@
"Application": "应用",
"Applications": "应用",
"Applications that require authentication": "需要认证和鉴权的应用",
"Author - Tooltip": "Author - Tooltip",
"Avatar": "头像",
"Avatar - Tooltip": "公开展示的用户头像",
"Back Home": "返回到首页",
@ -159,6 +169,7 @@
"Cert": "证书",
"Cert - Tooltip": "该应用所对应的客户端SDK需要验证的公钥证书",
"Certs": "证书",
"Chats": "Chats",
"Click to Upload": "点击上传",
"Client IP": "客户端IP",
"Close": "关闭",
@ -203,6 +214,7 @@
"Master password": "万能密码",
"Master password - Tooltip": "可用来登录该组织下的所有用户,方便管理员以该用户身份登录,以解决技术问题",
"Menu": "目录",
"Messages": "Messages",
"Method": "方法",
"Model": "模型",
"Model - Tooltip": "Casbin的访问控制模型",
@ -269,11 +281,14 @@
"URL": "链接",
"URL - Tooltip": "URL链接",
"Up": "上移",
"Updated time": "Updated time",
"User": "用户",
"User - Tooltip": "请确保用户名正确",
"User containers": "用户池",
"User type": "用户类型",
"User type - Tooltip": "用户所属的标签,默认为\"normal-user\"",
"User1 - Tooltip": "User1 - Tooltip",
"User2 - Tooltip": "User2 - Tooltip",
"Users": "用户",
"Users under all organizations": "所有组织里的用户",
"Webhooks": "Webhooks",
@ -293,8 +308,12 @@
"Edit LDAP": "编辑LDAP",
"Enable SSL": "启用SSL",
"Enable SSL - Tooltip": "是否启用SSL",
"Filter fields": "过滤字段",
"Filter fields - Tooltip": "使用ldap用户登录Casdoor时, 用于搜索ldap服务器中该用户的字段 - Tooltip",
"Group ID": "组ID",
"Last Sync": "最近同步",
"Search Filter": "Search Filter",
"Search Filter - Tooltip": "Search Filter - Tooltip",
"Server": "服务器",
"Server host": "域名",
"Server host - Tooltip": "LDAP服务器地址",
@ -331,6 +350,15 @@
"sign up now": "立即注册",
"username, Email or phone": "用户名、Email或手机号"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Chat - Tooltip": "Chat - Tooltip",
"Edit Message": "Edit Message",
"New Message": "New Message",
"Text": "Text",
"Text - Tooltip": "Text - Tooltip"
},
"model": {
"Edit Model": "编辑模型",
"Model text": "模型文本",