XiaoYoungk opened a new issue #6516:
URL: https://github.com/apache/dolphinscheduler/issues/6516


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Now, only the owner can create a resource file or directory under the 
resource directory, and only the owner can upload resource files. Even the 
admin user cannot grant access to other users, Because when doing this, the 
code will check whether the loginUser and parentDir's ownerUserId match. 
Currently, the project only supports the granting of file-level permissions.
   In this case, the collaborative office work of other partners in the project 
team will be hindered.
   
   
   ### Use case
   
   
   Option 1: When creating and uploading resource files, the loginUser and the 
ownerUserId of the parent directory are not matched, changed to match the 
tenantId of both.
   Option 2: When creating and uploading resource files, determine whether the 
current user has the permissions of the parent directory or the root directory.
   Option 3: Refer to other systems and use owner, group, role, and roleGroup 
to establish a complete project and resource authority management system.
   Option 4: Refer to the Linux system to establish a complete file system 
authority management system.
   
   Considering the difficulty and cost of implementation, I suggest to choose 
option two.
   
   ### Related issues
   
   If you choose to modify, it may involve the modification of WebUI and 
Database.
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to