Chris-Arith opened a new issue, #10919:
URL: https://github.com/apache/dolphinscheduler/issues/10919

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Before we switched to LDAP login, everything was fine, but when we use LDAP 
to login DS, the data quality report page dosen't show properly.
   Previously, admin is the only user of administrator role, and his user_id is 
`1`, when we switch to LDAP, admin can't be used any one and we appoint two 
administrator users by change database manually.
   However, these two administrator users can't see any data in the data 
quality report page, I find out that is because only `user_id=1` can see all 
the data in this page, otherwise, they may only see the data they created.
   
![image](https://user-images.githubusercontent.com/48941586/178642189-8afd7f47-50be-4029-aea8-97cb5a032032.png)
   So, I think maybe use `user_type` here is better, in case administrator 
user's id is not equal to 1.
   
   ### What you expected to happen
   
   administrator users can check all the data quality data
   
   ### How to reproduce
   
   use LDAP to login and appoint another administrator user
   
   ### Anything else
   
   maybe this problem also exist in other place like this situation
   
   ### Version
   
   3.0.0-beta-2
   
   ### Are you willing to submit PR?
   
   - [ ] 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