FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests