apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.27k stars 1.15k forks source link

[Question] submitUser become linkis when using Linkis API to submit mission 使用API方式提交任务时,submitUser变成了linkis #5028

Closed PelicanMan126 closed 6 months ago

PelicanMan126 commented 7 months ago

Before asking

Your environment

Describe your questions

Q1. When I submit a mission using Linkis API, I'm using token to do permission test, but when job was excuted, the submitUser and excuteUser is linkis, i'm not set this on my request body, it should be my token user

当我用API方式提交请求的时候,我使用的是token方式做权限校验,但是在执行后显示的submitUser和excuteUser却变成了linkis用户,我没有在参数中指定这两个参数,应该使用默认的token用户

linkis-mg-gateway.log: image linkis-cg-entrance.log image request detail: image

github-actions[bot] commented 7 months ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive
casionone commented 7 months ago

The tokenuser used is not linkis, but the recorded task, submitted user is linkis?

livi12138 commented 6 months ago

微信截图_20240111161828 你可以在这里设置你的执行用户和提交用户,如果不设置默认就是你的部署用户 You can set your execution user and submission user here. If not set, the default will be your deployment user.

peacewong commented 6 months ago

微信截图_20240111161828 你可以在这里设置你的执行用户和提交用户,如果不设置默认就是你的部署用户 You can set your execution user and submission user here. If not set, the default will be your deployment user. Thank you for your reply. Can you add my WeChat. id:peaceAyton