analyst role.
Roles
SoCMate has two roles:Permissions by Role
- Analyst
- Admin
User Provisioning
Users are automatically created in SoCMate on their first login via Azure Entra ID:- User clicks Sign In and authenticates with Azure Entra ID
- SoCMate exchanges the authorization code for tokens
- A new user record is created with:
- Azure Entra ID subject identifier
- Email address and display name from the ID token
- Default role:
analyst - Default settings (dark theme, notifications enabled)
- The user is redirected to the dashboard
Listing Users
Admins can view all platform users with optional search and pagination:User Profile
Each user has a profile with optional metadata:
Users can update their own profile:
User Settings
Each user has configurable settings:Settings Reference
Access Control Enforcement
Role checks are enforced at the API layer. Any request to an admin endpoint without the required role returns403 Forbidden:
UI Access Control
The SoCMate UI enforces role-based visibility:- Pages require authentication
- Admin pages require the
adminrole - Admin navigation items are only visible to users with the
adminrole - Attempting to access an admin page as an analyst redirects to the dashboard
Default Role Assignment
New users receive theanalyst role automatically. To change a user’s role, an admin must update it through the admin panel.