Project

General

Profile

Actions

Patch #14109

open

Issue REST API should return visible changesets from other projects

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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 http://svn.redmine.org/redmine/branches/2.3-stable r11710


Files

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

Updated by Filou Centrinov over 11 years ago

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

Actions #2

Updated by D G over 11 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.

Actions #3

Updated by D G about 11 years ago

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

Actions

Also available in: Atom PDF