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

在非管理员操作的时候,校验似乎存在bug #63

Open
rinyshen opened this issue Mar 11, 2021 · 0 comments
Open

在非管理员操作的时候,校验似乎存在bug #63

rinyshen opened this issue Mar 11, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rinyshen
Copy link

What Version Of crocodile you using

please runcrocodile version
v1.1.7

Describe your issue

if you see some useful log ,you can copy it here
当用户为非管理员的时候,在函数runTask 的调用model.check 时似乎传参中table应该是task表,如下
exist, err := model.Check(ctx, model.TBTask, model.IDCreateByUID, runtask.ID, uid),原先传递的是hostgroup,但是看参数确实task表里面的id和创建者,请关注是否是bug

@rinyshen rinyshen added the bug Something isn't working label Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants