Endpoint
GET
/usersOverview
This endpoint returns the complete demo dataset including all users, resources, and actions available in the application. It’s primarily used by the frontend to populate the UI with available options. This is a simple, read-only endpoint that returns static demo data. No request parameters are required.Request
No request body or parameters required.Example Request
Response
Success Response (200)
Array of user objects with their attributes.
Array of resource/document objects.
Array of available action strings.
Example Response
Demo Users Details
Alice Garcia - Analyst
- Role: Analyst
- Department: Finance
- Clearance Level: 2
- Initial Permissions: None (requires policy creation)
- Use Case: Demonstrates adding new RBAC/ABAC policies
Bob Torres - Admin
- Role: Admin
- Department: Finance
- Clearance Level: 3
- Initial Permissions: Full access via RBAC Admin role
- Use Case: Demonstrates role-based access control
Carol Mendez - Auditor
- Role: Auditor
- Department: HR
- Clearance Level: 1
- Initial Permissions: Read-only access
- Use Case: Demonstrates restricted auditor permissions
Demo Resources Details
Q4-Report-2024
- Department: Finance
- Classification: Confidential
- Access Pattern: Finance department with sufficient clearance
HR-Payroll-2024
- Department: HR
- Classification: Restricted
- Access Pattern: HR department and auditors
Sales-Dashboard
- Department: Sales
- Classification: Internal
- Access Pattern: Typically cross-department access allowed
Source Code Reference
Implemented in/lambda/users.py:47-60
This endpoint returns static demo data. In a production application, this would query a user directory service like Amazon Cognito or an enterprise IdP.