Skip to content

Add canUpdate, and canDelete to records #104

@jacebenson

Description

@jacebenson

So when you want to

  • update a record, do a read, and as part of the read, return if you canUpdate boolean for the logged in user.
  • delete a record, do a read, and as part of the read, return if you canDelete boolean for the logged in user.

so canUpdaet, and canDelete would be non-real fields on the model/table, that take in some code like, xyz role can see the record, and maybe xyz user is the logged in user

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