gosonzhang opened a new issue, #7300:
URL: https://github.com/apache/inlong/issues/7300

   ### Description
   
   The parent issue: https://github.com/apache/inlong/issues/7168
   
   In the user authorization check of the Open APIs, the getRoles() function of 
the UserInfo class is used, but the getAccountType() function is used in the 
current Manager implementation. In order to maintain the consistency of the 
authentication and authorization logic, the getRoles() calls are replaced with 
getAccountType()
   
   ### InLong Component
   
   InLong Manager
   
   ### Are you willing to submit PR?
   
   - [X] 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