-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
Problem Description
Now Linkis does not support proxy user mode. It cannot well support the following methods, such as user A performing tasks on behalf of user B, querying user B's workspace files and other scenarios.
现在Linkis不支持代理用户模式.没法很好的支持如下方式,如A用户代理B用户执行任务,查询B用户的工作空间文件等场景
Description
No response
Use case
No response
solutions
- Added a cookie for obtaining proxy users
- Obtain the corresponding proxy user cookie where the user authority needs to be judged
- Determine whether the logged-in user has the authority to proxy to the user
- Proxy to the corresponding user for execution
- 新增获得代理用户的Cookie
- 在需要判断用户权限的地方获取对应的代理用户Cookie
- 判断登录用户是否有代理到该用户的权限
- 代理到对应的用户进行执行
Anything else
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Reactions are currently unavailable