You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by "lgcareer2019@outlook.com" <lg...@outlook.com> on 2020/04/02 05:44:36 UTC

[discuss]change the request parameter when grant resource file to user

@caibiao xiang

Grants the resource file to the user,the request parameter `resourceIds` nedd to change.

In the past,the resourceIds is `152,126`.
Now if the resource has parent directory which id  value is 152,you should get all the parent direcory id.Like '1-3-152'.
 


DolphinScheduler(Incubator) PPMC
Gang Li 李岗

lgcareer2019@outlook.com<ma...@outlook.com>

回复: 回复:[discuss]change the request parameter when grant resource file to user

Posted by "lgcareer2019@outlook.com" <lg...@outlook.com>.
Yes,I suggest the front end can extract a method to get all the parent directory when the resource is selected.
The backend returns the results the same as before.So the backend will not add the column to save all the directory ids.
You need get them every time in front end in order to set the value of `resourceIds`



DolphinScheduler(Incubator) PPMC
Gang Li 李岗

lgcareer2019@outlook.com<ma...@outlook.com>
 
发件人: 向偲彪
发送时间: 2020-04-02 13:50
收件人: dev
主题: 回复:[discuss]change the request parameter when grant resource file to user
Does the format of the resourceIds field return the same as before, such as 151,152,153
 
 
 
 
------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"lgcareer2019@outlook.com"<lgcareer2019@outlook.com&gt;;
发送时间:&nbsp;2020年4月2日(星期四) 中午1:44
收件人:&nbsp;"dev"<dev@dolphinscheduler.apache.org&gt;;
 
主题:&nbsp;[discuss]change the request parameter when grant resource file to user
 
 
 
@caibiao xiang
 
Grants the resource file to the user,the request parameter `resourceIds` nedd to change.
 
In the past,the resourceIds is `152,126`.
Now if the resource has parent directory which id&nbsp; value is 152,you should get all the parent direcory id.Like '1-3-152'.
&nbsp;
 
 
DolphinScheduler(Incubator) PPMC
Gang Li 李岗
 
lgcareer2019@outlook.com<mailto:lgcareer2019@outlook.com&gt;

回复:[discuss]change the request parameter when grant resource file to user

Posted by 向偲彪 <xi...@qq.com>.
Does the format of the resourceIds field return the same as before, such as 151,152,153




------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"lgcareer2019@outlook.com"<lgcareer2019@outlook.com&gt;;
发送时间:&nbsp;2020年4月2日(星期四) 中午1:44
收件人:&nbsp;"dev"<dev@dolphinscheduler.apache.org&gt;;

主题:&nbsp;[discuss]change the request parameter when grant resource file to user



@caibiao xiang

Grants the resource file to the user,the request parameter `resourceIds` nedd to change.

In the past,the resourceIds is `152,126`.
Now if the resource has parent directory which id&nbsp; value is 152,you should get all the parent direcory id.Like '1-3-152'.
&nbsp;


DolphinScheduler(Incubator) PPMC
Gang Li 李岗

lgcareer2019@outlook.com<mailto:lgcareer2019@outlook.com&gt;