Skip to content

Support for permissions? #13

@janit

Description

@janit

Since GraphQL is so liberal in telling the world about it’s capabilities it is easy to expose data by accident. While permissions for accessing content in the eZ Platform should be limited, often permissions are more lax than they should be. People are lazy, and developers even more so.

I think adding permission limitation for individual queries could help this and further simplify the experience for API consumers as well. A simple limitation policy could be set which endpoints are accessible to users. More granular permissions would likely be overkill and should be left up to the repository.

I am not even sure if it is ok by GraphQL spec to serve a different schema per user, but something along these lines would make it easy to prevent leaking user data, even if the repository permissions would allow access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions