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

Big bro, Can you add perimisions router in this BEST project. #77

Open
5asp opened this issue Apr 1, 2020 · 2 comments
Open

Big bro, Can you add perimisions router in this BEST project. #77

5asp opened this issue Apr 1, 2020 · 2 comments

Comments

@5asp
Copy link

5asp commented Apr 1, 2020

大佬,求更下权限管理的。。,
因为直觉告诉我,这个项目对新手react很友好啊。

@anicetrip
Copy link

不是一般的友好的感觉,我在用它做毕设,感谢作者。

@sunft1996
Copy link

sunft1996 commented May 27, 2020

大佬,求更下权限管理的。。,
因为直觉告诉我,这个项目对新手react很友好啊。

提供一个思路,可以把权限相关的api存在数据库,用户登录时候存到session中,以后每次用户登录时候进行请求拦截,将当前请求api和session中的api对比,不一致就返回无权限。

具体的可以参考一下这个后台项目

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