#Can I create role in Payload Admin and sell the seat
1 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- Access Control - The Access Operation
- The Admin Panel - Customizing Routes - Root-level Routes - Customizing Root-level Routes
- Installation - Adding to an existing app - 5. Fire it up!
- Customizing Views - Root Views
- Generating TypeScript Interfaces - Using your types - Adding an npm script
Community-Help:
Can you help me out ? @summer haven
I do not understand your requirements. Please explain it in more detail.
So - I wanna create app using payload
My idea is that I will allow certain users to edit certain things.
- user - will just view the cotent
- creator - normal user registered as a creator - will have
- admin - (all the rigts - delete users and so)
that's a core feature 🙂
https://payloadcms.com/docs/access-control/overview
With RBAC (role based access management) you have.
- anonymous (public, not logged in)
- user (logged in)
Each user can have roles, likeadmin,user,creator.
Roles are then used for access controlBoolean(user?.roles?.includes('admin')).
Once you start reading the docs and starting your project, you will learn a lot and things will make sense.
PayloadCMS on in Next.js is game changer