Home / Companies / Directus / Blog / Post Details
Content Deep Dive

Introducing Policies: A New Approach To Permissions

Blog post from Directus

Post Details
Company
Date Published
Author
Christina Harker
Word Count
608
Company Posts That Month
1
Language
English
Hacker News Points
1
Post removed?
No
Summary

The brand new permissions system in Directus 11 is based on policies, allowing for granular control over access to specific fields, items, or combinations of conditions. Policies can be attached to users or roles and are additive, with permissions coming from all applied policies. This system provides simplified management and the ability to create context-aware permissions using dynamic variables like `$CURRENT_USER`. The new system opens up possibilities for access control in Directus, allowing developers to implement exactly the permission structure they need. Additionally, Directus 11 includes other noteworthy updates such as improved performance with mysql2 connections, new GraphQL queries and SDK functions for policies, a new clear method to cache implementations, bug fixes, and more. The latest version of Directus 11 is now available for download from Docker Hub or npm.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.