Editing and Deleting Users
This document covers how to modify existing user accounts, including changing user details, updating passwords, and permanently removing users from the system.
Editing Users
What Can Be Edited?
The following user information can be modified after creation:
| Field | Editable | Notes |
|---|---|---|
| Name | ✅ Yes | Full name of the user |
| ✅ Yes | Must be unique in organization | |
| Role | ✅ Yes | Subject to your permissions |
| Status | ✅ Yes | Active or Inactive |
| Extension | ✅ Yes | Assign, change, or remove |
| Password | ✅ Yes | Can reset without knowing current |
How to Edit a User
- Navigate to Users in the main menu
- Find the user you want to edit
- Click the Edit button (pencil icon)
- Modify the desired fields
- Click Save Changes
Some fields support inline editing directly from the user list. Look for editable fields when hovering over user rows.
Editing Restrictions
The following restrictions apply when editing users:
Role Changes
- Owners can change any user's role to any other role
- PBX Admins can only change PBX User and Reporter roles
- You cannot change your own role
- You cannot demote the last owner
Email Changes
- Email must be unique within the organization
- Cannot change to an email already in use
- User will need to use new email for future logins
Changing User Passwords
To reset a user's password:
- Edit the user
- Enter a new password in the Password field
- Save changes
- Securely communicate the new password to the user
When resetting passwords:
- Use strong, temporary passwords
- Require users to change password on next login
- Never send passwords via unsecured channels
Audit Logging
All edits to user accounts are logged:
- What changed - Field name and old/new values
- Who changed it - User who made the edit
- When - Timestamp of the change
View the audit log at Settings → Audit Log.
Deleting Users
When to Delete vs. Deactivate
| Action | Use When | Result |
|---|---|---|
| Deactivate | Temporary removal, user may return | Account preserved, can be reactivated |
| Delete | Permanent removal, user never returning | Account permanently removed |
Recommendation: Deactivate first, then delete after confirming the user is truly gone.
How to Delete a User
- Navigate to Users in the main menu
- Find the user you want to delete
- Click the Delete button (trash icon)
- Confirm the deletion in the dialog
- The user is permanently removed
Deletion Restrictions
Last Owner Protection
OPBX prevents deletion of the last owner in an organization. This prevents accidental lockout where no one can manage the system.
Error Message: "Cannot delete the last owner in the organization."
Solution: Promote another user to Owner role first, then delete.
Role-Based Restrictions
- Owners can delete any user except the last owner
- PBX Admins can delete PBX Users and Reporters only
- PBX Admins cannot delete Owners or other PBX Admins
What Happens When Deleting?
When a user is deleted:
- ✅ User account removed from database
- ✅ User cannot log in (immediately)
- ✅ Extension unassigned (if applicable)
- ✅ User removed from ring groups
- ✅ License seat freed
- ✅ Historical call records preserved
- ✅ Audit log entries retained
Call records and audit logs associated with the deleted user are retained for compliance and reporting purposes, but the user's personal information is removed.
Recovering Deleted Users
Deleted users cannot be recovered. If you need to restore access:
- Create a new user with the same information
- Reassign the extension (if applicable)
- Add to ring groups (if applicable)
- Notify the user of new login credentials
Bulk Operations
Currently, OPBX supports editing and deleting users one at a time through the web interface. For bulk operations:
- Use the API to script changes
- Contact support for assistance with large operations
User Lifecycle Examples
Example 1: Employee Promotion
Scenario: Jane Doe is promoted from Sales Agent to Sales Manager.
- Edit user - Open Jane's profile
- Change role - Update from "PBX User" to "PBX Admin"
- Update extension - Assign manager extension (101)
- Add to ring groups - Add to Management ring group
- Notify user - Inform Jane of her new permissions
Example 2: Employee Termination
Scenario: John Smith is leaving the company.
Day 1:
- Deactivate user - Set status to Inactive
- Document reason - Note in internal system
Day 30 (after confirming no issues):
- Delete user - Permanently remove account
- Reassign extension - Give extension to replacement
- Update documentation - Remove from org chart
Example 3: Department Transfer
Scenario: Sarah Jones moves from Support to Sales.
- Edit user - Open Sarah's profile
- Change extension - Unassign support extension, assign sales extension
- Update ring groups - Remove from Support, add to Sales
- Keep role - PBX User role remains appropriate
Troubleshooting
Cannot Edit User
Problem: Unable to save changes to a user.
Solutions:
- Check your role permissions
- Verify email format is valid
- Ensure email is unique
- Check for validation errors on form fields
Cannot Delete User
Problem: Delete option is disabled or error occurs.
Solutions:
- Verify you're not trying to delete the last owner
- Check your role can delete this user's role
- Try deactivating first, then deleting
- Check audit log for recent changes
Changes Not Saving
Problem: Edits appear to save but don't persist.
Solutions:
- Refresh the page and try again
- Check for network connectivity issues
- Verify you clicked "Save Changes"
- Check browser console for JavaScript errors
Accidental Deletion
Problem: A user was accidentally deleted.
Recovery:
- Create a new user with the same information
- Reassign the original extension (if still available)
- Add to appropriate ring groups
- Review audit log to understand what happened
- Document the incident
Best Practices
Before Editing
- Verify you're editing the correct user
- Document planned changes
- Notify user of significant changes (role, email)
Before Deleting
- Deactivate first - Wait to ensure no issues
- Check dependencies - Review ring groups, IVR menus
- Backup data - Export user reports if needed
- Notify stakeholders - Inform manager/team
- Document reason - Maintain records
Security Checklist
- Review who has admin access regularly
- Remove access promptly for departing employees
- Audit role changes quarterly
- Document all user lifecycle events
- Monitor for unusual deletion activity
Next Steps
- Creating Users - Add new users to the system
- Managing User Status - Temporarily disable users
- Extension Assignment - Manage extension links
Related Documentation:
- User Management Overview - General user management concepts
- Role-Based Access Control - Understanding permissions
- Audit Logging - Track all changes