You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/01 12:35:13 UTC

[GitHub] [incubator-linkis] peacewong opened a new issue #1590: [Feature] Linkis supports proxy user mode

peacewong opened a new issue #1590:
URL: https://github.com/apache/incubator-linkis/issues/1590


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-linkis/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
   
   1. Added a cookie for obtaining proxy users
   2. Obtain the corresponding proxy user cookie where the user authority needs to be judged
   3. Determine whether the logged-in user has the authority to proxy to the user
   4. Proxy to the corresponding user for execution
   1. 新增获得代理用户的Cookie
   2. 在需要判断用户权限的地方获取对应的代理用户Cookie
   3. 判断登录用户是否有代理到该用户的权限
   4. 代理到对应的用户进行执行
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org