You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/09 15:39:50 UTC

[GitHub] [dolphinscheduler] GavinGYM commented on pull request #12048: [Feature-12040][api][ui] Add authorization management of read and write permissions for project and resource center

GavinGYM commented on PR #12048:
URL: https://github.com/apache/dolphinscheduler/pull/12048#issuecomment-1272568466

   ## Screenshots of newly added features
   ### 1. Admin can now grant read-only or read & write permissions to a single user for a single project
   Go to Security→User Manage→Operation→Authorize→Project, and you will see the new Project Authorize window, where admin user can grant different permissions for a project to a user, by simply selecting projects and clicking different authorization buttons. And I also implemented paging and query functions for ease of use. 
   ![Untitled](https://user-images.githubusercontent.com/49181899/194765743-5f3a64c5-317e-47ba-911d-94a9aa0bc7e2.png)
   ![Untitled (1)](https://user-images.githubusercontent.com/49181899/194765771-8798f9d2-31c4-4a17-b445-e5838ec6d839.png)
   ### 2. Read and write permissions for the entire content of a single project are distinguished
   If a user has only the read permission but not the write permission for an project, and the user is trying to do something like delete or update the project, an error message is displayed indicating that the user has no write permission and cannot complete the operation.
   ![Untitled (2)](https://user-images.githubusercontent.com/49181899/194765830-8f1ff662-894d-4507-a107-157af59b6ff5.png)
   ### 3. Admin can now grant read-only or read & write permissions to a single user for a single item in resource center.
   Go to Security→User Manage→Operation→Authorize→Resource, and you will see the new Resource Authorize window, where admin user can grant different permissions for Resources Center items (including File Resource and UDF Resource) to a user. I kept the original Tree Select, and added a button to switch between different levels of permissions granted.
   ![Untitled (3)](https://user-images.githubusercontent.com/49181899/194765851-7b0b9649-f5d9-45ea-92bf-88e288bdf567.png)
   ![Untitled (4)](https://user-images.githubusercontent.com/49181899/194765855-c9b92f3d-1c15-4be4-af74-76dbbfdc533c.png)
   ### 4. Read and write permissions for all content in the resource center are distinguished.
   If a user has only the read permission but not the write permission for a content in the resource center, and the user is trying to do something like delete or update the resource, an error message is displayed indicating that the user has no write permission and cannot complete the operation.
   ![Untitled (5)](https://user-images.githubusercontent.com/49181899/194765955-47d8781f-4194-4318-b873-0d1ca8dce63d.png)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org