Issue 1894: cann't Access Database useing gsql command in 2.6-rc0 and 2.6-rc1
Status:  WontFix
Owner: ----
Closed:  May 2013
Reported by xuejian...@gmail.com, May 2, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:2.6-rc0/2.6-rc*

What steps will reproduce the problem?
1.Update gerrit from 2.5.2 to 2.6-rc0 or 2.6-rc1
2.ssh  -p 29418 admin@MY.GERRITHOST.COM gerrit gsql
3.It give error:
fatal: xuejiang does not have "Access Database" capability.

xuejiang is the administrator of gerrit and this command is good in 2.5.2.


May 2, 2013
Project Member #1 edwin.ke...@gmail.com
This has changed with 2.6. As the error message states the user needs to have the 'Access Database' capability [1] assigned. By default administrators don't have this capability.

[1] http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/access-control.html#capability_accessDatabase
Status: WontFix
May 2, 2013
#2 xuejian...@gmail.com
OK. thanks!
grant the [Data Access] permission to administrator in All-Project, then work.