Skip to content

ACL to protect related model from anyone besides owner? #3560

@johncpang

Description

@johncpang

I'm looking for a way to secure a related model. But I think I found a loopholes.

GET /pushIDs // ACL is deny for all, but everyone can create new records
GET /users/{id}/pushIDs // ACL is $owner can CRUD

In Explorer, it looks fine. I cannot access other's pushIDs from the above APIs, even I know the id of pushIDs records. However, I can get the pushIDs with this:

GET /users/{id}?filter={"include": "pushIDs"}

Is that a leak?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions