Create user roles hierarchy #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relevant: https://payloadcms.com/blog/build-your-own-rbac
Generally, we should have 3 types of users:
The hard part here is linking a specific maker/retailer/courier to a user. Perhaps we could add a "type" field to the user collection, and then move all the fields for maker/retailer/courier there?