Home / Companies / Permit.io / Blog / April 2022

April 2022 Summaries

2 posts from Permit.io

Filter
Month: Year:
Post Summaries Back to Blog
OPAL (Open Policy Administration Layer) is an open-source tool designed to address the challenges of implementing fine-grained authorization in modern, distributed systems, particularly those built using cloud-native and microservice architectures. It facilitates real-time synchronization of policies and data across distributed environments, integrating seamlessly with policy engines such as Open Policy Agent (OPA) and AWS Cedar. By decoupling policy from application code, OPAL allows for centralized policy configuration while supporting decentralized decision-making, ensuring that authorization decisions are always based on the most current information. It employs an event-driven model to maintain up-to-date policies in response to changes in user roles or external conditions, thus enhancing scalability and reducing the risk of outdated authorization layers. OPAL's architecture includes a server-client model that tracks policy and data changes, pushing updates via a WebSocket-based Pub/Sub mechanism to ensure policy engines operate with the latest data. The tool has been adopted by major organizations such as Tesla and Walmart for managing complex authorization scenarios, and it supports integration with CI/CD pipelines to automate policy updates, promoting clean code practices and maintainability.
Apr 27, 2022 3,141 words in the original blog post.
The guide discusses various methods for fetching data into Open Policy Agent (OPA), highlighting the pros and cons of each approach. It explores techniques such as including data in JWT tokens, overloading input within queries, polling with bundles, pushing data via API, pulling data during policy evaluation, and using the Open Policy Administration Layer (OPAL). Each method presents unique advantages and challenges, such as JWT's ease of use with limitations on data size, bundles' efficiency with static data, and OPAL's robust real-time updates that require more setup. The guide emphasizes understanding the complexities of data fetching mechanisms and choosing a method that aligns with the needs of specific applications, considering factors like real-time requirements and the ability to manage evolving access control complexities.
Apr 04, 2022 2,452 words in the original blog post.