njnu-seafish commented on PR #18384:
URL: 
https://github.com/apache/dolphinscheduler/pull/18384#issuecomment-4842851837

   > The PR marks OAuth2 redirect logins as securityConfigType=OAUTH2 on the 
frontend, but the backend guard in UsersServiceImpl checks only 
security.authentication.type. OAuth2 is enabled separately and can be used 
together with PASSWORD, so in that common setup the UI disables 
create/reset/edit-password, but /users/create, /users/update, and 
/users/register still pass the backend guard because 
security.authentication.type remains PASSWORD.
   
   ok, add logic to reject password-managed user operations when OAuth2 is 
enabled.


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