18
Lock fields to prevent changes through directus
Source: directus/directus#20996 · opened by @Dominic-Marcelino
Summary When having fields managed from outside of directus (e.g via code in migrations or external systems) sometimes it's useful to prevent users from making any changes from those fields. This makes sure that the code configuration is the single source of truth. On non-special fields it's possible by 'missusing' the 'systems' field attribute to at least prevent changes from the admin app: For special fields (aliases, groups, etc) this is not possible, as their data are parsed different. Basic Example _No response_ Motivation Prevent admins from modifiying single fields / tables that are managed by third party or via code. Detailed Design In directus fields there could be a new column 'locked'. The logic to protect the field could be reused from the 'system' check that already exists. Requirements List Must Have: • Config to protect field • Disable changes in UI • Disable changes from API …
No pledges yet. Be the first to back this.
Comments
Similar requests
Get all related collections/items for m2o,m2m without reverse fields
2 votes · 0 comments
Add ability to hide/arrange default fields on the Directus Files edit view
12 votes · 0 comments
Hide/arrange default fields on the Directus Files edit view
5 votes · 0 comments
Why Isn't Directus Gaining More Attention in Mobile App Development?
10 votes · 0 comments
Race Condition Prevent
2 votes · 0 comments
No comments yet.