Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

权限控制 #22

Closed
zicoolhan opened this issue Apr 29, 2020 · 1 comment
Closed

权限控制 #22

zicoolhan opened this issue Apr 29, 2020 · 1 comment

Comments

@zicoolhan
Copy link

这里有实现类似 超级管理员和普通用户的权限控制吗,看了文章然后来看代码,发现并没有这个功能实现诶

@woai3c
Copy link
Owner

woai3c commented May 10, 2020

这个需要后台实现,例如 admin 用户和 user 用户通过同一个接口获取的菜单数据是不一样的。例如 admin 看到的菜单有 6 个,user 用户看到的是 5 个。前端根据后台返回来的菜单数据来渲染菜单列表。
这就是权限控制,需要前后端相互配合。

@woai3c woai3c closed this as completed May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants