Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过LDAP用户登录需要有一个默认的兜底 #114

Closed
9houhu opened this issue Feb 6, 2025 · 1 comment
Closed

通过LDAP用户登录需要有一个默认的兜底 #114

9houhu opened this issue Feb 6, 2025 · 1 comment

Comments

@9houhu
Copy link

9houhu commented Feb 6, 2025

问题描述

目前配置了LDAP可以配置中指定的用户,把用户名一个的写出来,用户多并且用户有增减的时候,还要这样把用户都列出来,这个维护工作就是灾难

Image

建议新增一个兜底的用户权限配置,通过LDAP登录的用户有个默认权限

luohoufu pushed a commit that referenced this issue Feb 13, 2025
luohoufu added a commit that referenced this issue Feb 13, 2025
* chore: add anonymous roles to fix the issue (#114)

* docs: add release notes

* chore: change config key

* docs: update release notes

* chore: update comment

---------

Co-authored-by: hardy <[email protected]>
@luohoufu
Copy link
Contributor

可在快照版本选择最新版本进行验证

  • default_roles 使用示例:
...
default_roles: [ "data-ro" ]
role_mapping:
  uid:
      ...

@medcl medcl closed this as completed Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants