User Management
This guide covers how administrators manage users and control access to the CGIAR Risk Intelligence Tool. All user management features require Admin role privileges.Admin Access Required: Only users with administrator privileges can access user management features. Regular users can only manage their own profile.
Overview
The platform uses AWS Cognito for user authentication and access control. Administrators can:- Create new user accounts
- Assign roles and permissions
- Enable or disable accounts
- Reset user passwords
- View user activity
- Delete accounts
Accessing User Management
Creating New Users
Admin Privileges: Admin users can access User Management, Prompt Manager, and all system configuration areas. Grant this role carefully.
Welcome Email
When enabled, new users receive an automated email with:- Platform welcome message
- Login URL:
https://[your-domain]/login - Their username (email address)
- Temporary password
- Instructions to change password on first login
Editing User Details
Resetting User Passwords
Administrators can set new temporary passwords for users:Enabling and Disabling Users
Disable a User Account
To temporarily revoke access without deleting:- Click Edit (✏️) on the user
- Click “Disable User” button
- Confirm the action
- User status changes to Inactive (gray badge)
- User cannot log in
- Active sessions are terminated
- All data and assessments are preserved
- Account can be re-enabled at any time
Re-enable a User Account
- Click Edit (✏️) on the disabled user
- Click “Enable User” button
- Confirm the action
- User status changes to Active (green badge)
- User can immediately log in again
- Employee on extended leave
- Suspected security issues requiring investigation
- Temporary suspension pending review
- Account cleanup before final deletion
Deleting Users
Delete User
Are you sure you want to delete [email]?
This action cannot be undone.
[Cancel] [Delete]
Searching and Filtering
Search Users
Use the search bar at the top of the table:- Type user name or email (partial matches work)
- Results filter in real-time
- Search is case-insensitive
- Clear search to see all users
Filter by Role
Use the Role dropdown:- All Roles: Show everyone (default)
- Admin: Show only administrators
- User: Show only regular users
Filter by Status
Use the Status dropdown:- All Statuses: Show everyone (default)
- Active: Show only enabled users
- Inactive: Show only disabled users
Combined Filtering
All filters work together:- Search: “smith”
- Role: “Admin”
- Status: “Active”
Pagination
The user table supports cursor-based pagination: Navigation:- Previous button (◀): Go back one page
- Page indicator: Shows current page number
- Next button (▶): Advance to next page
- Maximum 60 users per page (Cognito limit)
- Default: 60 users per page
- Filters reset pagination to page 1
Large User Bases: For organizations with 500+ users, use filters and search to narrow results instead of browsing all pages.
User Activity Tracking
Each user row displays activity information: Last Login: Timestamp of most recent successful login- Shown below user name in the table
- Format: “Last login: Mar 4, 2026”
- Updates after each successful authentication
- Shows original account creation date
- Useful for auditing user tenure
Best Practices
Password Management
Password Management
Creating Secure Temporary Passwords:
- Use random, complex passwords
- Don’t use patterns (e.g., “Welcome123!”)
- Never reuse passwords across users
- Share passwords securely (encrypted channels)
- Document that user must change on first login
- Only reset when user forgets password
- Verify user identity before resetting
- Log all password reset actions
- Consider MFA for sensitive accounts
Role Assignment
Role Assignment
Admin Role Guidelines:
- Limit admin access to essential personnel only
- Review admin list quarterly
- Remove admin privileges when no longer needed
- Use separate admin accounts for automation
- Platform administrators
- Technical leads managing prompts
- User onboarding coordinators
- Senior analysts needing system oversight
- Standard risk analysts
- Temporary contractors
- External consultants
- Users who only create assessments
Account Lifecycle
Account Lifecycle
New User Onboarding:
- Create account with role appropriate to duties
- Send welcome email with instructions
- Verify first login within 48 hours
- Provide platform training
- Assign initial test assessment
- Disable account immediately upon departure
- Review and reassign their assessments
- Export any user-specific reports needed
- Delete account after 30-day retention period
- Document deletion in admin log
Regular Maintenance
Regular Maintenance
Monthly Tasks:
- Review inactive users (no login in 90+ days)
- Disable or delete unused accounts
- Audit admin user list
- Check for anomalous login patterns
- Export full user list for records
- Review role assignments
- Update user onboarding documentation
- Verify contact information is current
Troubleshooting
User Can't Log In
User Can't Log In
Check account status:
- Is account Active or Inactive? (Enable if needed)
- Was password recently reset? (User must change it)
- Is email address correct?
- Username is their email address
- Password is case-sensitive
- No extra spaces in email or password
- Admin reset password
- User tries “Forgot Password” flow
- Check spam folder for reset emails
User Can't Access Admin Features
User Can't Access Admin Features
Verify admin role:
- Check Groups section in Edit User modal
- Should show “admin” tag
- If missing, click “Add to admin group”
- User must log out and back in
- Admin permissions require new session
- Wait 1-2 minutes for Cognito sync
- Clear browser cache and cookies
- Try incognito/private window
- Check for JavaScript errors in console
Can't Create or Edit Users
Can't Create or Edit Users
Permission errors:
- Verify you have admin role
- Check Cognito console for service errors
- Ensure Cognito user pool is healthy
- Email must be valid format
- Password must meet all requirements
- No duplicate emails allowed
- Check internet connection
- Verify API Gateway is reachable
- Look for CORS errors in browser console
User List Not Loading
User List Not Loading
Cognito connectivity:
- Check AWS service health dashboard
- Verify API Lambda has Cognito permissions
- Review CloudWatch logs for errors
- If 1000+ users, Cognito may be slow
- Use filters to narrow query
- Wait up to 30 seconds for initial load
- Refresh the page
- Log out and back in
- Check auth token expiration
Security Considerations
Access Control Best Practices:- Follow principle of least privilege
- Regularly review and remove unnecessary permissions
- Disable accounts immediately when users leave
- Monitor for suspicious login patterns
- Enforce password expiration policies
- Export user lists quarterly for compliance
- Maintain logs of all user management actions
- Document role assignment rationale
- Review access controls during security audits