Hi all -
This may be covered in some of the quickstarts, but i’m not an auth guy, so I may just not understand what is what. I want to create a few roles that have specific privileges in my app. For example… we have a blog feature. I want to create a role called “ContentCreator”. In the React application I have a “New Blog” button that I want to only render if the person logged in has the role “ContentCreator”. Likewise… I’d like to create an “Admin” role that can delete objects in the app for housekeeping. For example… normally only if the owner of the blog matches the user, would we render a “Delete Blog” button. But, if the signed in user has the “Admin” role, they should also be able to see the “Delete Blog” button.
So… is this something I would/could do with Auth0 Roles? Or do I need to set this up as user attributes in my database? If in Auth0… how?