Skip to content

The all permission * is causing GraphQL introspection to fail #44

@jesse-mm

Description

@jesse-mm

Hi!

First of all, nice plugin! I was investigating whether this plugin is a viable solution for permission management. But when installing and retrieving the GraphQL schema, I ended up with an error graphqLError: Names must start with [_a-zA-Z] but "*" does not..

This has to do with the all permission '*' wildcard selector. I've replaced all occurrences of * and *. in the node_modules with ALL, and the introspect started working again.

Note: The declared constants for the permissions are not used everywhere. It might be beneficial to use the constant throughout the codebase ;).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions