Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Create a hook to check the roles. #23

Description

@AlexanderPuhl

This hook should ensure that if they're a basic user, they only get access to their own data.
If they're an admin, they have access to everything. We will want to apply this hook to the get and find paths in the users.hooks.js file under the before object.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions