mattmilburn / strapi-plugin-menus

A plugin for Strapi CMS to customize the structure of menus and menu items.
MIT License
110 stars 28 forks source link

Hide from sidebar for editors #95

Open celepci opened 1 year ago

celepci commented 1 year ago

I want to remove menus plugin from sidebar for editor user role. However, this plugin does not appear in the plugins tab for the editor role in the roles section. Any way to hide from sidebar for editor user role?

Thank you.

Pasted Graphic 1
mattmilburn commented 1 year ago

Hi @celepci The plugin does not currently support role-based access but it will in the future. Sorry this is not available right now.

uni-vinay-p commented 1 year ago

@mattmilburn I appreciate for this wonderful plugin. I am looking for RBAC, is this planned anytime soon?

darokviana commented 11 months ago

Hello. I suggest hiding the plugin for Authors only, keeping it visible for Super Administrators and perhaps Editors. This is the best plugin for my use case, but it is limiting Teams customization as some unauthorized people can edit or delete the menus.

I think this implementation is more important than the internationalization of the plugin, since it seems easier to find alternative approaches to translating menu texts directly in the frontend or with additional fields. RBAC control seems to require a higher technical level, and the suggestion above (limiting it to Super Admins only) seems like a viable option through small adjustments.