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

权限问题 #6

Open
wcxxxxx opened this issue Jan 20, 2021 · 1 comment
Open

权限问题 #6

wcxxxxx opened this issue Jan 20, 2021 · 1 comment

Comments

@wcxxxxx
Copy link

wcxxxxx commented Jan 20, 2021

问下 这个可以实现,权限不通的用户登陆到后台,所显示的功能也不一样,没太看明白 怎么操作

@TianPangJi
Copy link
Owner

问下这个可以实现,权限不通的用户登陆到后台,所显示的功能也不一样,没太看明白怎么操作

您好,您所说的功能可以实现的,可以通过给不同的用户分配不同的角色,不同的角色授予不同的权限,权限认证使用utils/RbacPermission,可自行查看;
但是项目初始化,默认是没有配置权限的,可在页面配置,后端主要视图集为PermissionsViewSet;但是前端的权限控制还没有写完,如果自己写的话可参考vue-element-admin,前端我使用的就是这位大佬的模板,后续这块会完善,同时会发布说明文档。

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