Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gReview trying to access gerrit DB #32

Open
ghost opened this issue Feb 12, 2015 · 2 comments
Open

gReview trying to access gerrit DB #32

ghost opened this issue Feb 12, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2015

I see in the logs lots of
ERROR [ajp-bio-127.0.0.1-8085-exec-1948] [GerritRepositoryAdapter:714] ALERT: does not have "Access Database" capability.
but everything seems to work anyway. Besides maybe logging a warning, isn't using the gerrit REST interface more appropriate?

@onepremise
Copy link
Owner

That's a relatively benign error. Yes, it probably should be a just a warning. Basically, the user you're using to connect with doesn't have "Access Database" granted under Global Capabilities in Gerrit. You can still use the addon, it just won't pull as much user data for display purposes. General functionality should work. Otherwise, if you have permissions, you can grant your user the "Access Database" priv in Gerrit.

@ghost
Copy link
Author

ghost commented Feb 16, 2015

Yes, everything works anyway, that's why I thought a warning would have been better.. what about using the gerrit's REST interface to get those information? AFAIK that doesn't need any special permission on the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant