niumy0701 commented on issue #15925: URL: https://github.com/apache/dolphinscheduler/issues/15925#issuecomment-3495333348
Hiļ¼There are two options. Let's discuss them together and see which one is better Option 1 Modify the creator of the associated table Advantages: No compatibility with historical data, no need to modify permission logic Disadvantage: There are many modifications to the association table 1. Front end Add a "Transfer Project" button for user management on the administrator page (1) Select the corresponding target user (2) Select the projects that need to be transferred (3) Click OK to call the backend interface to transfer the project 2. Backend: Interface modification of user related table data to ensure data consistency Option 2 Increase owner permissions Advantages: No modification of table associated data Disadvantage: Requires compatibility with historical data or permission logic compatible with historical logic 1. Front end: Add the "Grant Owner Permissions" button for authorization 2. Backend: (1) On the basis of the previous permissions, add the owner permission OWNERPERMission=99 to have all permissions. Replace the project creator and modify the verification logic of the previous project creator (2) Transfer authorization logic before reusing permissions, transfer project permissions, increase owner permissions for target users, and revoke all permissions for source users; The source user and target user belong to the same tenant -- 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]
