| Issue 2043: | New option or command for capability | |
| 2 people starred this issue and may be notified of changes. | Back to list |
If a user has no capability, gerrit stream-events fails with fatal error. If a user has proper capability, it would success but client cannot know it until the first event is received. Until that, client cannot determine that stream connection is established. So I want new option for gerrit-events or new command to check capability for specified command.
Aug 13, 2013
Project Member
#1
david.pu...@sonymobile.com
Aug 13, 2013
The reason why ssh connection is needed is that the feature to receive events is not provided via API. If API authentication is needed, such feature should be provided via API. e.g. websocket. If not be provided, my concern like above should be solved in ssh connection only. Note that client needs to have additional information for API authentication (perhaps http password). It means that security risk is increased.
Nov 15, 2013
I checked accounts endpoint but there is no capability information for stream events. https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/rest-api-accounts.html#capability-info
Nov 15, 2013
The documentation of this REST endpoint misses to mention this capability. this is fixed by: https://gerrit-review.googlesource.com/51762 But it is documented here: https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/access-control.html#capability_streamEvents
Status:
ChangeUnderReview
|
|
| ► Sign in to add a comment |