tags.json for whole Redmine instance
Closed this issue · 4 comments
dkastl commented
To support multiple projects at once, let's add another API endpoint, for example /smash_tags.json
on the root level.
Expected functionality
sanak commented
As I mentioned in #15 (comment), supporting Category
and Target version
will be impossible in this endpoint.
dkastl commented
Yes, that's fine. So it will never be part of the SMASH form but only supported on the desktop.
sanak commented
Okay.
About the following,
takes into account role permissions if possible
there seems to be convenient function (Tracker.visible(user)
).
https://github.com/redmica/redmica/blob/master/app/models/tracker.rb#L50-L71
sanak commented
I missed the following, so above Tracker.visible(user)
can't be used as it is...
takes into account that the SMASH module is enabled