Bug #16596
closedgetting smart_class_variables via API not working
Description
Tried my luck with this on the mailinglist, but since no one hade any suggestions i'm trying it as a bug.
I'm trying to retrieve values for a specific smart_class_variable via API, but not getting any results. The user I am using to do this has the 'viewer' role which has worked in the past, but somewhere along the line it stopped working - unfortunately I cant say exactly which update introduced the change.
I am now running on 1.12.2 on RHEL 7.2.
This is my request:
GET /api/smart_class_parameters/1426
A simple 'GET'. Results in:
{"message":"Smart class parameter not found by id '1426'"}
I have tried to add numerous types of permission filters to my user to no luck. The only way I can get it to work is to tick the 'administrator' box for the user.
Am I missing something here? Is it a bug or am I just doing it wrong?