|
Download src/apps/admin/README.md from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 2.72 kB
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/admin/README.md
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/apps/admin/README.md
-
curl -L -o README.md https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/admin/README.md
2.72 kB
| # Admin - Administration & Configuration | |
| **Category**: Platform (Infrastructure) | |
| **Standards**: RBAC, OAuth 2.0, SAML 2.0 | |
| **Version**: 5.1.0 | |
| **Status**: ✅ **Stable** (Production-Ready) | |
| --- | |
| ## 🔧 Administrative Context | |
| Admin provides platform administration including tenant management, user administration, RBAC configuration, system configuration, feature flags, and audit log queries. It's the central control panel for YAZ Care Platform operations. | |
| ### Workflows Supported | |
| 1. **Tenant Management**: Tenant provisioning, configuration, subscription management | |
| 2. **User Administration**: User accounts, role assignment, password resets, SSO setup | |
| 3. **RBAC Configuration**: Role definitions, permission matrices, custom roles | |
| 4. **System Configuration**: Platform settings, feature flags, API rate limits | |
| 5. **Audit Logging**: Security events, PHI access logs, compliance reporting | |
| --- | |
| ## ✨ Features | |
| ### Core Operations | |
| - ✅ **Tenant CRUD**: Create tenants, configure schemas, manage subscriptions | |
| - ✅ **User Management**: Full user lifecycle, bulk imports, SSO integration | |
| - ✅ **Role Management**: RBAC with granular permissions (17 standard roles) | |
| - ✅ **Feature Flags**: Toggle features per tenant, A/B testing, gradual rollouts | |
| - ✅ **Audit Logs**: Query audit trail, export for compliance, retention policies | |
| --- | |
| ## 📡 Key API Endpoints | |
| ```http | |
| POST /api/v1/admin/tenants # Create tenant | |
| POST /api/v1/admin/users # Create user | |
| PATCH /api/v1/admin/users/{id}/roles # Assign roles | |
| GET /api/v1/admin/audit-logs # Query audit trail | |
| PATCH /api/v1/admin/feature-flags # Update feature flags | |
| ``` | |
| --- | |
| ## 📋 Standards | |
| ### RBAC (Role-Based Access Control) | |
| - **17 Standard Roles**: ADMIN, SYSTEM_MANAGER, TENANT_ADMIN, DOCTOR, NURSE, LAB_TECH, PHARMACIST, BILLING, IT_SUPPORT, AUDITOR, etc. | |
| - **Granular Permissions**: 200+ permission nodes | |
| - **Hierarchical Roles**: Role inheritance (e.g., ADMIN inherits TENANT_ADMIN) | |
| ### OAuth 2.0 / SAML 2.0 | |
| - SSO integration (Okta, Azure AD, Google Workspace) | |
| - Multi-factor authentication (MFA) | |
| - Session management (JWT tokens, refresh tokens) | |
| ### SOC 2 Type II Compliance | |
| - Audit logging (all admin actions logged) | |
| - Access control reviews (quarterly) | |
| - Least privilege principle enforced | |
| --- | |
| ## 🔗 Integration | |
| - **All Apps**: Central authentication/authorization | |
| - **Platform**: Health checks, monitoring, metrics | |
| - **Analytics**: Admin action analytics, user behavior tracking | |
| --- | |
| ## 🚀 Current Status | |
| **Production**: Fully operational, 95%+ uptime | |
| **Test Coverage**: 92% | |
| **Security Audits**: Quarterly penetration testing | |
| --- | |
| **Last Updated**: January 2, 2026 | |
| **Status**: Stable (Production) | |