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

注释鉴权可以模糊匹配内容进行鉴权 #556

Open
netSharks opened this issue Dec 6, 2023 · 1 comment
Open

注释鉴权可以模糊匹配内容进行鉴权 #556

netSharks opened this issue Dec 6, 2023 · 1 comment

Comments

@netSharks
Copy link

建议增加的新功能:

注释鉴权可以模糊匹配内容

应用场景阐述:

比如某几个用户都拥有以test开头的角色,希望可以再注释SaCheckRole里可以用通配符test*来匹配,这样如果有新增以test开头的角色时,就不用改动后端代码进行适配了

< 备注:请尽量详细描述功能应用场景 >

@ly-chn
Copy link
Member

ly-chn commented Jan 10, 2024

给这些角色统一加一个test不就好了嘛. 不过你的需求可以考虑

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

2 participants