How princywilson/aegis works
AEGIS is a web application for organization-scoped knowledge content, versioning, programs, access grants and secure delivery, with identity/RBAC and accountability features. The main workflow is a user operating the React client to authenticate and manage or access content through the backend API. Backend excerpts and SOURCE INDEX references support several internal dependencies; the README documents little beyond the client/server layout, so unsampled feature links are kept conservative.
Main entry points: knowledge/views.py Knowledge API · api.js API client · identity/views.py Identity API · services.py Content and program services
Components 17
Client
- Application UI
frontend/src/App.jsx - API client
frontend/src/api.js
Identity and Access
- Identity API
backend/identity/views.py - Organizations and roles
backend/identity/models.py - Role permissions
backend/identity/rbac.py - Permission checks
backend/identity/permissions.py
Knowledge Operations
- Knowledge API
backend/knowledge/views.py - Content and program services
backend/knowledge/services.py - Content and program records
backend/knowledge/models.py - Upload validation
backend/knowledge/file_uploads.py - Private file storage
backend/knowledge/storage.py - Secure delivery
backend/knowledge/delivery.py - Knowledge authentication
backend/knowledge/authentication.py
Accountability
- Accountability API
backend/accountability/views.py - Security event services
backend/accountability/services.py - Audit and activity records
backend/accountability/models.py
Other components
- Organization user
Connections 22
- Organization user → Application UI: uses
- Application UI → API client: requests data
frontend/src/App.jsx - API client → Identity API: calls API
- API client → Knowledge API: calls API
- API client → Accountability API: calls API
- Identity API → Organizations and roles: reads and updates
backend/identity/views.py - Identity API → Role permissions: uses role logic
backend/identity/views.py - Permission checks → Role permissions: checks permission
backend/identity/permissions.py - Knowledge API → Knowledge authentication: authenticates requests
backend/knowledge/views.py - Knowledge API → Permission checks: enforces access
backend/knowledge/views.py - Knowledge API → Content and program services: invokes operations
backend/knowledge/views.py - Content and program services → Content and program records: updates records
backend/knowledge/services.py - Content and program services → Upload validation: validates uploads
backend/knowledge/services.py - Content and program services → Private file storage: stores files
backend/knowledge/services.py - Content and program records → Private file storage: uses storage service
backend/knowledge/models.py - Knowledge API → Secure delivery: dispatches delivery
backend/knowledge/views.py - Secure delivery → Private file storage: opens protected files
- Accountability API → Audit and activity records: reads records
backend/accountability/views.py - Accountability API → Permission checks: checks access
backend/accountability/views.py - Security event services → Audit and activity records: records security events
backend/accountability/services.py - Identity API → Security event services: records auth events
backend/identity/views.py - Knowledge API → Security event services: records access events
backend/knowledge/views.py