Skip to content

With Fine Grained Authorization relation between MultiDatastream and Observation fails #2205

@spezzi

Description

@spezzi

I'm using Fine Grained Authorization on a v. 2.4.6 FROST Server installation. I created a project (not public) and a user that I have associated to the project with the "read" role.
Then I have associated the project to the instances of the entities (Sensor, Thing, FoI and Location) that deals with it.
I tested many STA API endpoints with the user’s credential and everything seems ok, except when I try the relation between MultiDatastream and Observation and vice versa. For example, when I try

/FROST-Server/v1.1/MultiDatastreams(9)/Observations

I get an empty array and when I ask for

/FROST-Server/v1.1/Observations(44503)/MultiDatastream

I receive a “404 Not Found”.

If I make the same requests with the admin user, I get the right responses. No problems with the analogous relation between Datastream and Observation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions