Patch #14109

Issue REST API should return visible changesets from other projects

Added by D G over 9 years ago. Updated about 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-


With GET /issues/2.xml?include=changesets only referring changesets from projects with repository module enabled are shown.
#3087 fixes this for the html-view.

Patch based on r11710

changesets.patch Magnifier (935 Bytes) D G, 2013-05-21 11:30


#1 Updated by Filou Centrinov over 9 years ago

Why we should give a user more rights via REST API access than he has on the website?

#2 Updated by D G over 9 years ago

The patch should do the same fix like r8749 did.

In my environment I get the list of revisions in the webview but not via REST API (revisions of other projects without repository module).
So the user has less rights via REST API.

Shouldn't the visible in issue.changesets.visible.all.each do the trick?

I don't want to get more rigths via REST-API, it's only confusing that I get less revisions via REST API than via webview.

#3 Updated by D G about 9 years ago

See also #3087#note-26 (note 26)

Also available in: Atom PDF