Skip to content

Make include path (and other query parameters) authorization easier #485

@seankndy

Description

@seankndy

If an API user has permission to read/view an Account model and that model also has child Contact models which can be associated to it, yet the user does not have permission to read/view the Contact, then how does one enforce that the API user cannot read Contacts through an 'include' like so:

GET /api/v1/accounts?include=contacts

It appears that during this request, the readRelationship() method is never called within my DefaultAuthorizer.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions