Skip to content

Allow @authorization to be used on relationship fields to protect particular relationship operations #4377

Open
@jroith

Description

@jroith

Current @authorization support selecting an operation, such as CREATE, DELETE, UPDATE, CONNECT and DISCONNECT. It seems like connect and disconnect would apply to ANY connection being made. Sometimes we want to prevent all connections, except one. And sometimes we want to permit all connections expect one.

Have you considered making the configurable - perhaps based on white or blacklisting edge names per type for simplicity?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions