[MM-874]: Fixed the issue of LHS not working without setting organisation lock - #838
Conversation
…restricted data fetch
|
@Kshitij-Katiyar I was testing this PR and faced a new issue.
|
@AayushChaudhary0001 This error can only occur in case the User has PRs in an org that has not been granted access to the OAuth app. It is expected that LHS will show data from the organizations granted access to the Oauth app. |
|
@Kshitij-Katiyar, When the user is part of an external organization and the organization also have granted access to the Oauth application as we can see in the below screenshot. The very first organization has granted access, |
|
@arush-vashishtha You can enable the below configuration related to private repo and hopefully get to see the PRs you want |
Thank you, it is working now. |
|
This PR has been tested and the desired functionality LGTM. The user is getting the count for all the organizations in the LHS when the organization lock is not set. For external organizations, the user must enable the settings discussed above. |
arush-vashishtha
left a comment
There was a problem hiding this comment.
Tested and verified, the functionality is looking good to me.





Summary
Fixed the issue of Github LHS not working if any organization is not set in the organization lock of the plugin config
What to test