opensumi web模式下,如何开发权限? #4370
Unanswered
qiyanbeibei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1.在一般的react项目中,前端一般在第一个首页,通过路由或者权限判断方式,控制未登录的跳转,而opensumi web(比如ide-startup)项目中,哪个是首页?如何做到未登录的验证?
2.在react项目中,通过axios,统一处理token,来验证接口的访问权限,opensumi使用的websocket前后端连接,这种方式下,如何校验权限?
3.如何做到权限识别不同用户,展示不同的文件树?
感谢!!!!
Beta Was this translation helpful? Give feedback.
All reactions