Skip to content

Admin user can't save updates #66

Description

@Roger-Heathcote

Normal users can edit their posts but admin user can't edit someone elses posts.

Pro just need to change line in examples-model.js so it also allows if userid is 1

    if (dbExample.owner_id === userId) {

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