factly / dega

A lightweight, scalable & high performant CMS written in Go & React. Developed for modern web features with all the best practices built-in.
Apache License 2.0
14 stars 6 forks source link

Check all relevant permission for user while accessing pages #945

Open shreeharsha-factly opened 2 months ago

shreeharsha-factly commented 2 months ago

If a user tries to access the post create page then the user should have access to at least read access for categories, tags, medium, formats, and post create action.

Then show the error component that user doesn't have enough permissions.

shreeharsha-factly commented 2 months ago

@pallavimshr Please show relevant actions and resources as well in the error card.