My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2795: cann't Access Database using gsql command gerrit (2.8.1)
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jul 2014


Sign in to add a comment
 
Reported by mohamed....@gmail.com, Jul 24, 2014
Hello,

Affected Version: Gerrit  (2.8.1)

1.Update gerrit from 2.5.2 to 2.8.1 
2.ssh  -p 29419 admusr@my.gerrithost.COM gerrit gsql
3.It give error:

fatal: admusr  does not have "Access Database" capability.

admusr the administrator of gerrit and this command works in v 2.5.2.
I cannt find "Access Database" capability  within All-projects  to add it to admusr.  

Thnks in advance.
Regards
Jul 24, 2014
Project Member #1 edwin.ke...@gmail.com
As stated in the message you need to have the 'Access Database' global capability [1] assigned.
Assign it on the All-Projects root project, e.g. to the Administrators group and try again.

[1] https://gerrit-review.googlesource.com/Documentation/access-control.html#capability_accessDatabase
Status: Invalid
Jul 24, 2014
Project Member #2 edwin.ke...@gmail.com
see also 2.6 release notes [1]:
 "Raw database access with the gsql command is a new global capability. "

[1] https://gerrit-documentation.storage.googleapis.com/ReleaseNotes/ReleaseNotes-2.6.html#_access_controls
Sign in to add a comment

Powered by Google Project Hosting