RahalCorporate
Users

Troubleshooting User Management

Common issues and solutions for user management

Troubleshooting User Management

This guide covers common issues when managing users in Rahal.

Quick Diagnosis

ProblemMost Likely CauseQuick Fix
User can't loginUser inactiveActivate from Users page
"No company found"Domain not verifiedAdd domain to company
"Account pending"Auto-signup disabledActivate user manually
Can't change emailBy designCreate new user instead
Role not in dropdownRole inactiveActivate the role
User has wrong accessWrong role assignedChange role assignment

Login Issues

User Can't Login

Symptom: Login fails with credentials error.

Diagnostic Steps:

Solutions by Cause:

CauseSolution
User inactiveActivate from Users page
Company inactiveActivate company
Wrong passwordReset password
User deletedContact platform admin
Account lockedWait or contact admin

"Account pending approval"

Symptom: User registered but sees pending message.

Cause: Company has auto-signup disabled.

Solution:

  1. Go to Users
  2. Find the inactive user
  3. Change status to Active
  4. User can now login

OAuth Login Fails

Symptom: Google/Microsoft login doesn't work.

Causes and Solutions:

CauseSolution
Domain not verifiedAdd domain to company
Company inactiveActivate company
Auto-signup disabledActivate user after first attempt

Registration Issues

"No company found for this domain"

Symptom: User can't register with company email.

Causes and Solutions:

CauseSolution
Domain not in verified listAdd domain to company settings
Typo in domainCheck spelling in verified domains
Company inactiveActivate the company
Subdomain usedAdd subdomain explicitly

Email Already Exists

Symptom: Can't create user, email in use.

Solutions:

  1. Search for existing user with that email
  2. If found, update existing user instead
  3. If user should be in different company, contact platform admin

Registration Succeeds But Can't Access

Symptom: User registered, verified email, but can't use app.

Causes:

  1. Auto-signup disabled (user is inactive)
  2. Email verification not completed
  3. Company became inactive

User Creation Issues

Can't Create User

Symptom: Create User button missing or disabled.

Causes and Solutions:

CauseSolution
Missing permissionYou need WRITE_USERS permission
No company accessYou need access to a company
Role inactiveActivate at least one role

Required Fields Missing

Symptom: Form shows validation errors.

Required Fields:

  • Full Name (on create)
  • Email
  • Password (on create)
  • Company
  • Role

Invalid Email Format

Symptom: Email validation fails.

Solution: Use valid email format: user@domain.com

User Edit Issues

Can't Edit User

Symptom: Edit button missing or form disabled.

Causes and Solutions:

CauseSolution
Missing permissionYou need WRITE_USERS permission
User deletedUser cannot be edited after deletion
Wrong companyYou must have access to user's company

Email Can't Be Changed

Symptom: Email field is disabled in edit mode.

Cause: This is by design. Email is the user's identity and cannot be changed after creation.

Solution: If email must change, create a new user account.

Company Can't Be Changed

Symptom: Company field is disabled in edit mode.

Cause: This is by design. Company membership is established at creation.

Solution: If user needs to be in a different company, create them in that company separately.

User Status Issues

User Stuck as Inactive

Symptom: User remains inactive despite activation attempt.

Diagnostic Steps:

  1. Verify save completed successfully
  2. Refresh the Users list
  3. Check for error messages
  4. Verify you have WRITE_USERS permission

Deactivation Not Working

Symptom: User can still login after deactivation.

Causes:

  1. User has existing session (clears on next request)
  2. Save didn't complete

Solution: Deactivation takes effect on user's next request, not immediately for existing sessions.

Accidentally Deleted User

Symptom: Need to restore a deleted user.

Solution:

  1. Deletion is soft-delete (data preserved)
  2. Contact platform administrator
  3. Provide user email and details
  4. Admin can restore from database

Role Assignment Issues

Role Not Appearing

Symptom: Expected role not in dropdown.

Causes and Solutions:

CauseSolution
Role inactiveActivate the role
Role deletedCreate new role or restore
Wrong companyRole must belong to user's company
Company not selectedSelect company first

Role Change Not Taking Effect

Symptom: User still has old permissions.

Solutions:

  1. Verify save was successful
  2. Have user refresh browser
  3. Have user log out and back in
  4. Verify role has expected permissions

Permission Issues

User Has Wrong Permissions

Symptom: User can access things they shouldn't or can't access things they should.

Diagnostic Steps:

  1. Check user's assigned role
  2. View role's permission list
  3. Compare with expected permissions
  4. Remember: base permissions are always included

Missing Dashboard Access

Symptom: User gets error accessing dashboard.

Cause: Role doesn't have ACCESS_COMPANY_DASHBOARD.

Solution: Assign Manager, Admin, or custom role with dashboard access.

Performance Issues

User List Loading Slowly

Symptom: Users page takes long to load.

Solutions:

  1. Use filters to narrow results
  2. Reduce page size
  3. Clear browser cache

Search Not Finding User

Symptom: User exists but search doesn't find them.

Solutions:

  1. Search matches name and email only
  2. Try different search terms
  3. Clear filters (including company filter)
  4. Check if user is deleted (won't appear)

Best Practices

Preventing User Issues

  1. Clear onboarding process

    • Document how users should register
    • Communicate auto-signup status
    • Provide self-service password reset
  2. Proactive management

    • Regularly review inactive users
    • Promptly deactivate departing employees
    • Audit role assignments
  3. Communication

    • Notify users of role changes
    • Explain permission changes
    • Provide access troubleshooting guide

On this page