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

Create a hook to check the roles. #23

Open
AlexanderPuhl opened this issue Mar 10, 2021 · 0 comments
Open

Create a hook to check the roles. #23

AlexanderPuhl opened this issue Mar 10, 2021 · 0 comments
Labels

Comments

@AlexanderPuhl
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant