Skip to content

Support writePermission property in fields #75

Open

Description

@tstiemerling

A fairly common use case is to allow users to read all fields, but only allow admins to write some fields. This is not possible with the current readPermission / permission properties. One solution would be to add a writePermission property, or to modify the checkAttributes function to also pass in the opts object (which has the isWrite flag). The former solution seems cleaner.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions