Search before asking
Motivation
At present, the project does not support transferring users, please refer to the following issue #15925;
Project permissions are associated with project creators, in order to decouple project creators from project permissions and increase project owner permissions;
Design Detail
- Front end:
Add the "Grant Owner Permissions" button for authorization
- Backend:
(1) On the basis of the previous permissions, add the owner permission OWNER_PERMISSION=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
Compatibility, Deprecation, and Migration Plan
The creator of the historical data creation project needs to add owner permissions
Test Plan
Modify test cases
When creating a project, the creator defaults to having owner's permissions
When deleting or editing a project, verify that the creator has been changed to verify the owner's permissions
When deleting a user, there is no need to verify whether the user is the project creator
Code of Conduct