diff --git a/containers/backupchecks/src/templates/documentation/users/login-authentication.html b/containers/backupchecks/src/templates/documentation/users/login-authentication.html
index d3d325d..820502d 100644
--- a/containers/backupchecks/src/templates/documentation/users/login-authentication.html
+++ b/containers/backupchecks/src/templates/documentation/users/login-authentication.html
@@ -4,16 +4,239 @@
Login & Authentication
- Learn about login procedures and authentication in BackupChecks.
+ Learn how to log in to BackupChecks and manage your authentication session.
- 📝 Coming Soon:
- This page is under construction. Full content will be added in a future update.
+ 📝 Coming Soon:
+ This page is under construction. Screenshots will be added in a future update.
-Authentication
+Logging In
-Content coming soon...
+BackupChecks uses a traditional username and password authentication system.
+
+Login Steps
+
+
+ - Navigate to the BackupChecks URL in your web browser
+ - You will be automatically redirected to the login page if not authenticated
+ - Enter your username in the username field
+ - Enter your password in the password field
+ - Click the Login button
+
+
+If your credentials are correct, you will be redirected to the dashboard.
+
+First Login
+
+When you log in for the first time:
+
+
+ - You will land on the Dashboard page
+ - Review any news announcements or system updates
+ - If you have multiple roles, select your preferred active role from the dropdown in the navigation bar
+ - Consider changing your password via Profile Settings
+
+
+
+ 💡 Tip:
+ Bookmark the BackupChecks URL for quick access. The system will remember your last active role between sessions.
+
+
+Authentication Method
+
+BackupChecks uses local database authentication:
+
+
+ - Username/Password: Credentials are stored securely in the database
+ - Session-Based: After login, a secure session is created and stored in a cookie
+ - No SSO/OAuth: External authentication providers are not currently supported
+ - No Two-Factor Authentication: 2FA is not currently implemented
+
+
+
+ 💡 Note:
+ User accounts are created and managed by administrators via Settings → User Management.
+
+
+Login Failures
+
+Common Login Issues
+
+
+
+
+ | Issue |
+ Possible Cause |
+ Solution |
+
+
+
+
+ | Invalid credentials error |
+ Incorrect username or password |
+ Double-check username and password (case-sensitive). Contact your administrator if you've forgotten your credentials. |
+
+
+ | Page doesn't load after login |
+ Session or cookie issue |
+ Clear your browser cookies and cache, then try again. |
+
+
+ | Redirected back to login |
+ Session expired or browser issue |
+ Try a different browser or incognito/private mode to rule out browser-specific issues. |
+
+
+
+
+
+ ⚠️ Password Reset:
+ BackupChecks does not currently have a self-service password reset feature. If you forget your password, contact your system administrator to reset it.
+
+
+Session Management
+
+Session Duration
+
+BackupChecks uses persistent sessions:
+
+
+ - Sessions remain active as long as you keep using the application
+ - Sessions may expire after extended periods of inactivity (browser-dependent)
+ - Closing the browser tab does not immediately end your session
+ - The session cookie is set to expire when the browser closes (unless "Remember Me" is implemented)
+
+
+Automatic Redirects
+
+If your session expires or becomes invalid:
+
+
+ - You will be automatically redirected to the login page
+ - After logging in again, you may be redirected to the page you were trying to access
+
+
+Logging Out
+
+To log out of BackupChecks:
+
+
+ - Click the Logout button in the top-right corner of the navigation bar
+ - Your session will be terminated immediately
+ - You will be redirected to the login page
+
+
+
+ 💡 Best Practice:
+ Always log out when using a shared or public computer. This ensures your session is properly terminated and prevents unauthorized access.
+
+
+Security Considerations
+
+Password Security
+
+
+ - Use Strong Passwords: Choose passwords with a mix of uppercase, lowercase, numbers, and symbols
+ - Don't Share Credentials: Each user should have their own account
+ - Change Default Passwords: If your administrator provides a temporary password, change it immediately
+ - Regular Updates: Consider changing your password periodically
+
+
+Browser Security
+
+
+ - Use HTTPS: Ensure you're connecting via HTTPS (check for the padlock icon in your browser)
+ - Keep Browser Updated: Use the latest version of your browser for security patches
+ - Avoid Public WiFi: Don't log in from untrusted networks without a VPN
+ - Clear Cookies on Shared Computers: Clear browser data after using a shared machine
+
+
+
+ ⚠️ Security Alert:
+ If you suspect unauthorized access to your account, contact your administrator immediately to reset your password and review audit logs.
+
+
+Role Selection After Login
+
+If you have multiple roles assigned:
+
+
+ - After login, your last active role will be automatically selected
+ - If this is your first login or the role is no longer valid, your first assigned role will be activated
+ - You can switch roles at any time using the role dropdown in the navigation bar
+
+
+See Users & Roles for more information about role switching.
+
+Troubleshooting Login Issues
+
+Can't Remember Username
+
+Contact your system administrator. They can look up your username in Settings → User Management.
+
+Can't Remember Password
+
+Contact your system administrator. They can reset your password for you.
+
+Account Locked or Disabled
+
+BackupChecks does not currently implement account lockouts. If you cannot log in:
+
+
+ - Verify your username and password are correct
+ - Contact your administrator to verify your account exists and is active
+ - Ask your administrator to check the audit logs for any issues
+
+
+Browser Compatibility
+
+BackupChecks is designed to work with modern web browsers:
+
+
+
+
+ | Browser |
+ Minimum Version |
+ Recommended |
+
+
+
+
+ | Google Chrome |
+ 90+ |
+ Latest stable |
+
+
+ | Mozilla Firefox |
+ 88+ |
+ Latest stable |
+
+
+ | Microsoft Edge |
+ 90+ |
+ Latest stable |
+
+
+ | Safari |
+ 14+ |
+ Latest stable |
+
+
+
+
+
+ 💡 Note:
+ Internet Explorer is not supported. Please use a modern browser for the best experience.
+
+
+Next Steps
+
+
{% endblock %}
diff --git a/containers/backupchecks/src/templates/documentation/users/profile-settings.html b/containers/backupchecks/src/templates/documentation/users/profile-settings.html
index 5711718..0f597af 100644
--- a/containers/backupchecks/src/templates/documentation/users/profile-settings.html
+++ b/containers/backupchecks/src/templates/documentation/users/profile-settings.html
@@ -4,16 +4,253 @@
Profile Settings
- Customize your profile settings and preferences.
+ Customize your user profile, change your password, and configure personal preferences.
- 📝 Coming Soon:
- This page is under construction. Full content will be added in a future update.
+ 📝 Coming Soon:
+ This page is under construction. Screenshots will be added in a future update.
-Profile
+Accessing Profile Settings
-Content coming soon...
+To access your profile settings:
+
+
+ - Click on your username in the top-right corner of the navigation bar
+ - This will open the User Settings page
+
+
+Alternatively, navigate directly to the User Settings page via the menu (if your role has access).
+
+Profile Information
+
+Your profile displays the following information:
+
+
+ - Username: Your login username (cannot be changed by users)
+ - Email: Your email address (if configured by admin)
+ - Assigned Roles: The roles you have been granted
+ - Active Role: Your currently selected role
+
+
+
+ 💡 Note:
+ Only administrators can modify usernames, email addresses, and role assignments via Settings → User Management.
+
+
+Changing Your Password
+
+You can change your password at any time from the profile settings page.
+
+Password Change Steps
+
+
+ - Navigate to your profile settings (click your username)
+ - Locate the Change Password section
+ - Enter your current password
+ - Enter your new password
+ - Re-enter your new password to confirm
+ - Click Change Password or Save
+
+
+If successful, you will see a confirmation message. Your password is updated immediately.
+
+
+ 💡 Password Best Practices:
+ Use a strong password with at least 8 characters, including uppercase, lowercase, numbers, and symbols. Avoid common words or easily guessable information.
+
+
+Password Requirements
+
+BackupChecks password requirements:
+
+
+ - Minimum Length: Typically 6-8 characters (check with your administrator)
+ - Complexity: No specific complexity requirements enforced by default
+ - History: No password reuse restrictions by default
+
+
+
+ ⚠️ Important:
+ If you forget your new password, you will need to contact your administrator for a password reset. There is no self-service password recovery.
+
+
+Theme Preference
+
+BackupChecks supports multiple visual themes to match your preference and reduce eye strain.
+
+Available Themes
+
+
+
+
+ | Theme |
+ Description |
+ When to Use |
+
+
+
+
+ | Light |
+ Light backgrounds with dark text |
+ Well-lit environments, daytime use |
+
+
+ | Dark |
+ Dark backgrounds with light text |
+ Low-light environments, reduce eye strain |
+
+
+ | Auto |
+ Automatically matches your system preference |
+ Adapts to your OS dark mode setting |
+
+
+
+
+Changing Your Theme
+
+You can change your theme in two ways:
+
+Method 1: Navigation Bar (Quick Change)
+
+
+ - Locate the theme selector dropdown in the top-right corner of the navigation bar (next to your username)
+ - Click the dropdown to see available themes
+ - Select Light, Dark, or Auto
+ - The page will reload and apply your selected theme immediately
+
+
+Method 2: Profile Settings
+
+
+ - Navigate to your profile settings (click your username)
+ - Locate the Theme Preference setting
+ - Select your preferred theme
+ - Save your changes
+
+
+Your theme preference is saved and will persist across all devices where you log in.
+
+
+ 💡 Tip:
+ The Auto theme is recommended if your operating system already has a dark mode schedule. BackupChecks will automatically switch between light and dark themes based on your OS setting.
+
+
+Role Selection
+
+If you have multiple roles assigned, you can view and switch between them from your profile.
+
+Viewing Your Roles
+
+Your assigned roles are displayed in your profile settings. This is a read-only view showing all roles granted by your administrator.
+
+Switching Active Role
+
+To switch your active role:
+
+
+ - Use the role selector dropdown in the top-right corner of the navigation bar
+ - Select the role you want to activate
+ - The page will reload with the appropriate permissions and menu items for that role
+
+
+See Users & Roles for detailed information about role permissions and switching.
+
+Session Information
+
+Some profile pages may display session information:
+
+
+ - Last Login: When you last successfully logged in
+ - Active Sessions: Your current browser sessions (if implemented)
+ - Login History: Recent login attempts (if audit logging is enabled)
+
+
+
+ 💡 Note:
+ Session information availability depends on your system configuration and may not be visible to all users.
+
+
+Notification Preferences
+
+Future versions of BackupChecks may include notification preferences such as:
+
+
+ - Email notifications for failed backups
+ - Daily digest emails
+ - Alert thresholds
+ - Report delivery preferences
+
+
+
+ 📝 Future Feature:
+ Notification preferences are not currently implemented. Check back in future updates.
+
+
+Data Privacy
+
+What Data is Stored?
+
+BackupChecks stores the following personal information:
+
+
+ - Username (required for login)
+ - Email address (optional, set by admin)
+ - Password hash (securely encrypted)
+ - Assigned roles
+ - Theme preference
+ - Last active role
+
+
+Who Can See Your Information?
+
+
+ - You: Can view your own profile information
+ - Administrators: Can view and edit all user profiles
+ - Other Users: Cannot view your profile or personal information
+
+
+Data Retention
+
+Your profile data is retained as long as your account exists. If your account is deleted by an administrator, all associated profile data is removed.
+
+Troubleshooting
+
+Can't Change Password
+
+Possible causes:
+
+ - Current password is incorrect - verify you're entering your current password correctly
+ - New password doesn't meet requirements - ensure password meets minimum length
+ - Browser autofill issue - try typing passwords manually instead of using autofill
+
+
+Theme Doesn't Change
+
+Possible causes:
+
+ - Browser cache - clear your browser cache and reload the page
+ - Browser compatibility - try a different browser
+ - Auto theme not working - ensure your OS has a dark mode preference set
+
+
+Can't Access Profile Settings
+
+Possible causes:
+
+ - Session expired - log out and log back in
+ - Permission issue - contact your administrator
+ - Browser issue - try incognito/private mode
+
+
+Next Steps
+
+
{% endblock %}
diff --git a/containers/backupchecks/src/templates/documentation/users/users-and-roles.html b/containers/backupchecks/src/templates/documentation/users/users-and-roles.html
index ad1d6c1..c400fe0 100644
--- a/containers/backupchecks/src/templates/documentation/users/users-and-roles.html
+++ b/containers/backupchecks/src/templates/documentation/users/users-and-roles.html
@@ -4,16 +4,243 @@
Users & Roles
- Learn how to manage users and assign roles in BackupChecks.
+ BackupChecks uses a role-based access control system to manage user permissions and access levels.
- 📝 Coming Soon:
- This page is under construction. Full content will be added in a future update.
+ 📝 Coming Soon:
+ This page is under construction. Screenshots will be added in a future update.
-User Management
+User Roles Overview
-Content coming soon...
+BackupChecks supports four distinct user roles, each with specific permissions and access levels:
+
+
+
+
+ | Role |
+ Primary Purpose |
+ Key Permissions |
+
+
+
+
+ | Admin |
+ Full system administration |
+ Complete access to all features, settings, user management, and system configuration |
+
+
+ | Operator |
+ Daily backup operations |
+ Review backups, manage customers/jobs, create tickets, view reports (no system settings) |
+
+
+ | Reporter |
+ Reporting and analytics |
+ View and generate reports only (no access to operational features) |
+
+
+ | Viewer |
+ Read-only monitoring |
+ View customers, jobs, and reports (cannot make changes) |
+
+
+
+
+Detailed Role Permissions
+
+Admin Role
+
+Administrators have unrestricted access to BackupChecks:
+
+
+ - Manage users (create, edit, delete, assign roles)
+ - Configure system settings (mail import, Autotask integration, UI timezone)
+ - Manage customers and backup jobs
+ - Review and approve backup runs
+ - Create and manage tickets
+ - Configure overrides and parsers
+ - View audit logs and system maintenance features
+ - Create news announcements
+ - Access all mail (including deleted mails and archived jobs)
+ - Export and import data
+
+
+
+ ⚠️ Security Note:
+ Admin access should be limited to trusted personnel only. Admins can modify critical system settings and access all data.
+
+
+Operator Role
+
+Operators handle day-to-day backup monitoring and validation:
+
+
+ - View and manage customers
+ - Configure backup jobs
+ - Review backup runs and mark them as reviewed
+ - Create and manage Autotask tickets for failed backups
+ - Add remarks to backup runs
+ - View and create reports
+ - Manage inbox emails and approve jobs
+ - Configure overrides for special cases
+
+
+Operators cannot: Access system settings, manage users, view audit logs, or access deleted mails.
+
+Reporter Role
+
+Reporters focus exclusively on reporting and analytics:
+
+
+ - View the dashboard
+ - Create, schedule, and view reports
+ - Access documentation, changelog, and feedback
+
+
+Reporters cannot: Access operational features like inbox, customers, jobs, run checks, or tickets. The navigation menu shows only report-related items.
+
+
+ 💡 Use Case:
+ The Reporter role is ideal for management or stakeholders who need visibility into backup compliance without operational access.
+
+
+Viewer Role
+
+Viewers have read-only access to monitor backup status:
+
+
+ - View customers and their backup jobs
+ - View backup runs and their status
+ - View tickets and remarks
+ - View reports
+ - Access documentation and changelog
+
+
+Viewers cannot: Make any changes, create tickets, review backups, or access system settings.
+
+Multiple Role Assignment
+
+Users can be assigned multiple roles simultaneously. This provides flexibility for users who need different access levels at different times.
+
+How Multiple Roles Work
+
+
+ - A user can be assigned any combination of roles (e.g., "operator, reporter")
+ - When logged in, the user selects their active role from a dropdown in the navigation bar
+ - The interface and available features adapt based on the selected active role
+ - Users can switch between their assigned roles at any time
+
+
+
+ 💡 Example:
+ A user assigned both "operator" and "reporter" roles can switch between reviewing backups (operator) and generating executive reports (reporter) without logging out.
+
+
+Managing Users
+
+User management is performed by administrators through the Settings page.
+
+Creating a New User
+
+
+ - Navigate to Settings → User Management (Admin only)
+ - Click New User
+ - Enter username, email, and password
+ - Assign one or more roles (comma-separated: e.g., "admin,operator")
+ - Save the user
+
+
+Editing User Roles
+
+
+ - Navigate to Settings → User Management
+ - Click the edit icon next to the user
+ - Modify the roles field (comma-separated list)
+ - Save changes
+
+
+
+ ⚠️ Important:
+ Role changes take effect immediately. If you remove a user's current active role, they will be switched to their first remaining role automatically.
+
+
+Role Switching
+
+Users with multiple roles can switch between them using the role selector in the navigation bar (top-right corner, next to the username).
+
+How to Switch Roles
+
+
+ - Locate the role dropdown in the top-right corner of the navigation bar
+ - Click the dropdown to see your assigned roles
+ - Select the role you want to activate
+ - The page will reload and the interface will adapt to the selected role
+
+
+The navigation menu, available features, and permissions update immediately to match your active role.
+
+Best Practices
+
+
+ - Principle of Least Privilege: Assign users the minimum role required for their responsibilities
+ - Limit Admin Access: Only assign admin role to personnel responsible for system configuration
+ - Use Multiple Roles Sparingly: While flexible, multiple roles can be confusing. Assign them only when necessary
+ - Regular Audits: Periodically review user roles and remove access for inactive users
+ - Document Role Assignments: Keep an external record of why users have specific roles
+
+
+Common Role Assignment Scenarios
+
+
+
+
+ | User Type |
+ Recommended Role(s) |
+ Rationale |
+
+
+
+
+ | System Administrator |
+ admin |
+ Needs full access to configure and maintain the system |
+
+
+ | Backup Team Lead |
+ operator |
+ Reviews backups daily, manages customers and jobs |
+
+
+ | Junior Backup Technician |
+ operator or viewer |
+ Assists with reviews or monitors status (depending on trust level) |
+
+
+ | Management/Stakeholder |
+ reporter |
+ Needs reports and metrics, not operational access |
+
+
+ | Auditor/Compliance |
+ viewer |
+ Needs to verify backup status without making changes |
+
+
+ | Dual-Function User |
+ operator, reporter |
+ Performs daily reviews and also generates reports |
+
+
+
+
+Next Steps
+
+
{% endblock %}