kyoty opened a new pull request #5697:
URL: https://github.com/apache/dolphinscheduler/pull/5697


   ## Purpose of the pull request
   When deleting a user, the accessToken associated with the user should be 
also deleted
   1. create a normal user
   
![image](https://user-images.githubusercontent.com/52202080/123464117-0029c600-d61f-11eb-84ba-bd4717ca5ada.png)
   
   2. add an accesstoken associated with the user created in the step 1.
    ![image 
(1)](https://user-images.githubusercontent.com/52202080/123464155-0c158800-d61f-11eb-8c4a-f41c58f7a441.png)
  
   
   3. delete the user created in the step 1, then have a look at the 
accessToken:
   ![image 
(2)](https://user-images.githubusercontent.com/52202080/123464249-2c454700-d61f-11eb-8790-2c21ef2fccbb.png)
   
   
   ## Brief change log
   When deleting  an userl, I add a new method to delete the releated 
accessTokens(if exists)
   ## Verify this pull request
   + Manually verified the change by testing locally
   + add a new UT.
   


-- 
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