dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [File Manage] Can't upload a file to a granted file directory

Open codyyang0 opened this issue 3 years ago • 11 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Admin granted a file directory to a normal user. Granted user can't upload a file to that file directory, the reported error is "The current user does not have permission to operate".

What you expected to happen

Normal user can upload a file to a file directory that have been granted permission.

How to reproduce

  1. Admin create a file directory on resource manage
  2. Admin create a normal user
  3. Admin grant the created file directory permission to the normal user
  4. Normal user upload a file to the file directory

Anything else

No response

Version

2.0.5

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

codyyang0 avatar Jun 07 '22 01:06 codyyang0

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Jun 07 '22 01:06 github-actions[bot]

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.

github-actions[bot] avatar Aug 03 '22 00:08 github-actions[bot]

@codyyang0 Has PR been submitted for this issue ?

brave-lee avatar Sep 15 '22 08:09 brave-lee

image

I use admin create a file directory on resource manager , but I can't grant the created file directory permission to the normal user , the checkbox can't be select.

lordk911 avatar Sep 27 '22 04:09 lordk911

Yes, authorized folders are not supported

brave-lee avatar Sep 27 '22 06:09 brave-lee

I have not receive submits from PR @JinyLeeChina

codyyang0 avatar Sep 27 '22 06:09 codyyang0

Can you submit PR ?

brave-lee avatar Sep 27 '22 06:09 brave-lee

I have not submitted PR. I will try to solve the bug and submit the PR.

codyyang0 avatar Sep 27 '22 06:09 codyyang0

Yes, authorized folders are not supported

if authorized folders are not supported, how can this issue happen? I'm puzzled.

lordk911 avatar Sep 28 '22 02:09 lordk911

Hi @codyyang0 ,I think not support authorized folders is not bug, and you can submit a improvement pr to dev

brave-lee avatar Oct 10 '22 06:10 brave-lee

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.

github-actions[bot] avatar Feb 17 '24 00:02 github-actions[bot]

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.

github-actions[bot] avatar Feb 24 '24 00:02 github-actions[bot]