This article explores the foundational ideas behind Haseen, a project aimed at simplifying identity and access governance (IAG). It delves into the architectural challenges of managing permissions, roles, and temporary access in a growing organization, emphasizing the importance of a robust data model and backend enforcement for security and reliability.
Read original on Dev.to #architectureThe article introduces Haseen, an identity and access governance (IAG) project, stemming from the real-world problem of managing user permissions in large organizations. It highlights the complexities involved in determining who has access to what, ensuring necessary permissions, and auditing access over time. The core challenge is maintaining control, visibility, and accountability of access rights, which is a critical aspect of system security and operational integrity.
Frontend vs. Backend Responsibilities
A key architectural insight is the clear separation of concerns: while the frontend can display access statuses and expiration times, the backend is solely responsible for enforcing access rules and validating permissions. This prevents security vulnerabilities that could arise from client-side manipulation.
The article emphasizes that building such a system requires more than just UI components; it demands deep thought into data models, application structure, and robust backend enforcement to ensure security, maintainability, and reliability.