63
Custom permissions for modules and more
Source: directus/directus#3211 · opened by @Fusseldieb
I was thinking that it would eventually be interesting to add a feature in which an Admin could add a custom permission to Directus to then control who has access to certain things or not, but I'm not talking about Collections; I'm talking about custom permissions that could be added inside the "Roles & Permissions" page without being tied to any collection. A custom name that the user could give his permission and a checkbox if ☑️ or ⬜. What do I mean by that: Let's say I want to expand Directus and thus I build a custom module. Done that, I want only Admins with a certain exclusive permission to see and access this module that I've created. Right now (at the time of writing) the only way to archieve this would be to create a dummy table with fields that each represent a custom module permission. And in my module I would implement a check to see if the user has permission to that dummy field, and if yes, would load my custom module. It …
No pledges yet. Be the first to back this.
Comments
Similar requests
Code-first configuration of schema, roles and permissions
274 votes · 0 comments
Allow top-down frontend customisation
1 vote · 0 comments
Policy UX Enhancements for collection permissions management
2 votes · 0 comments
Cannot use Access Control name in Flow Permissions; must use UUID
1 vote · 0 comments
How hide collections' lists' visibility when they are required for a user inside an extension?
1 vote · 0 comments
No comments yet.