Reputation: 2708
I am trying to access database of my gerrit server with the following command(I am the admin
and my username is newbie
) -
ssh -p 29418 localhost gerrit gsql
I get the following error :-
fatal: newbie does not have "Access Database" capability.
How to give administrators database access in gerrit ?
Upvotes: 2
Views: 3881
Reputation: 137071
From the gsql
documentation:
Caller must have been granted the Access Database global capability.
Global capabilities are configured in the project.config
file, e.g.
[capability]
accessDatabase = group Administrators
Upvotes: 7