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

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

Closed
1 task done
PelicanMan126 opened this issue Dec 8, 2023 · 4 comments
Labels
Question Further information is requested

Comments

@PelicanMan126
Copy link

PelicanMan126 commented Dec 8, 2023

Before asking

Your environment

  • Linkis version used: 1.3.2

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

@PelicanMan126 PelicanMan126 added the Question Further information is requested label Dec 8, 2023
Copy link

github-actions bot commented Dec 8, 2023

😊 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
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
[email protected] community activity information subscribe unsubscribe archive

@casionone
Copy link
Contributor

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

@livi12138
Copy link

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

@peacewong
Copy link
Contributor

微信截图_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants