When we are creating a new Post we should auto fill the Author with the logged in users info - The Author should be an object - The Author object should include - User's Id - Users name - Users Email - Users Roles This will help control when a user wants to edit a Post only the Admin and Author roles can edit but Authors can only edit the Posts they Authored.
When we are creating a new Post we should auto fill the Author with the logged in users info
The Author should be an object
The Author object should include
User's Id
Users name
Users Email
Users Roles
This will help control when a user wants to edit a Post only the Admin and Author roles can edit but Authors can only edit the Posts they Authored.