Closed Anubisxcw closed 7 months ago
i open a file in resource center ,and do nothing ,press exit button,then i will recive an error. pay attention,the file is not created by me,but the createror 's tenant is same as me,and we are admin in ds
the file `s creater is same as me as a admin,and we have same tenant ,so i have right,there is no reason to get this err
1.give user A and user B admin right by change database,t_ds_user table ,user_type coulme. 2.give user A and B the same tenant 3.A create a file,and B open it ,do nothing just exit 4.we weill recive a ok msg,and a err msg
1.i read the source code and log 2.and i comparison the good request and bad requeest,i find the bug is about fullName 3.the good request is:xxxxxx/dolphinscheduler/resources?fullName=&tenantCode=&type=FILE&searchVal=&pageNo=2&pageSize=10 4.if you do the reproduce step ,you will caughe bad request:xxxxx/dolphinscheduler/resources?fullName=work&tenantCode=&type=FILE&searchVal=&pageNo=1&pageSize=10 5.if u cut the fullName's value in bad request you will get right response 6.i try to debug,but sorry i just can`t,the backed is good i think,probbly is fronted
dev
the version is 3.2.1
thx,if your code pass the merge,i will buid it~
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
Search before asking
What happened
i open a file in resource center ,and do nothing ,press exit button,then i will recive an error. pay attention,the file is not created by me,but the createror 's tenant is same as me,and we are admin in ds
What you expected to happen
the file `s creater is same as me as a admin,and we have same tenant ,so i have right,there is no reason to get this err
How to reproduce
1.give user A and user B admin right by change database,t_ds_user table ,user_type coulme. 2.give user A and B the same tenant 3.A create a file,and B open it ,do nothing just exit 4.we weill recive a ok msg,and a err msg
Anything else
1.i read the source code and log 2.and i comparison the good request and bad requeest,i find the bug is about fullName 3.the good request is:xxxxxx/dolphinscheduler/resources?fullName=&tenantCode=&type=FILE&searchVal=&pageNo=2&pageSize=10 4.if you do the reproduce step ,you will caughe bad request:xxxxx/dolphinscheduler/resources?fullName=work&tenantCode=&type=FILE&searchVal=&pageNo=1&pageSize=10 5.if u cut the fullName's value in bad request you will get right response 6.i try to debug,but sorry i just can`t,the backed is good i think,probbly is fronted
Version
dev
Are you willing to submit PR?
Code of Conduct