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

添加按钮权限 #18

Open
HadeAs opened this issue Dec 27, 2023 · 3 comments
Open

添加按钮权限 #18

HadeAs opened this issue Dec 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@HadeAs
Copy link

HadeAs commented Dec 27, 2023

目前我看权限是管控到路由,是否可以将颗粒度细化到组件,例如对页面中增删改查之类的按钮组件进行权限控制。实现方式可以动态的对组件进行权限设置(也可以取消权限设置),然后在角色管理里进行分配

@HadeAs
Copy link
Author

HadeAs commented Dec 27, 2023

如果可以的话,本人也愿意在空余时间参与到这个项目中来

@d3george
Copy link
Owner

现在有两个账号,admin和test 它俩的角色权限不同,进入后看到的页面不同,页面上配置权限的功能都是mock的,并没有真正接入后端。 至于按钮权限你可以自己去实现下

@d3george d3george added the enhancement New feature or request label Dec 27, 2023
@HadeAs
Copy link
Author

HadeAs commented Dec 27, 2023

👌

@d3george d3george changed the title 权限功能的一点小建议 添加按钮权限 Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants