Two front doors: Module-level access in a Django GRC app
Oct 5, 2026Donovan Felton

Summary
Introduces a pattern for module-level access control in Django applications using group membership enforcement. This involves creating a reusable `GroupRequiredMixin` in a core app that modules inherit from, and a `user_in_group` template filter for UI guards. The core app has zero knowledge of module-specific data, ensuring clean separation. This pattern is applied to a GRC tool serving Security Compliance and Internal Audit teams.
More from the Security Control Framework trail
- Track organization-wide security risk in one dashboard
- Dependency Firewall: Block risky packages before the build
- How GitLab tracks vulnerabilities through refactors and reformatting
- Shai-Hulud copycat campaign targets Python developers through PyPI typosquatting
- 5 ways to fix misleading vulnerability severities with policy