Overview
Custom Roles provide a role-based permission system that allows you to create reusable permission sets. Instead of assigning permissions individually to each user, you can create roles (e.g., “Moderator”, “Senior Admin”) and assign them to multiple users.Accessing Custom Roles
Navigate to Admin > Manage > Custom Roles to access the custom roles management interface.Required Permissions
ViewCustomRoles- View custom rolesManageCustomRoles- Create, edit, and delete custom roles
Understanding Custom Roles
Custom roles combine:- Name - Role identifier (e.g., “Moderator”, “Supervisor”)
- Permissions - Set of granted permissions
- Discord Role - Optional Discord role sync
- Icon - Optional role badge image
Creating Custom Roles
- Click Create Custom Role
- Fill in the role details:
- Name - Unique role name (e.g., “Community Moderator”)
- Permissions - Select all permissions this role should have
- Discord Role - (Optional) Link to a Discord role for auto-assignment
- Icon - (Optional) Upload a role badge image
- Click Create
Example: Creating a Moderator Role
Editing Custom Roles
- Click Edit next to the custom role
- Modify the role details:
- Name
- Permissions (add or remove)
- Discord role link
- Icon image
- Click Save
Changes to role permissions immediately affect all users with that role.
Deleting Custom Roles
- Click Delete next to the custom role
- Confirm deletion
Permission Categories
Permissions are organized into categories:Administrative Permissions
ViewUsers,ManageUsers,BanUsers,DeleteUsers- User managementViewCustomFields,ManageCustomFields- Custom field managementViewCustomRoles,ManageCustomRoles- Role managementManageCadSettings- CAD configurationViewAuditLogs- Audit log accessImportCitizens,ImportVehicles,ImportWeapons- Bulk importDeleteCitizens,DeleteBusinesses- Citizen/business deletion
Law Enforcement Permissions
Leo- Access LEO featuresViewIncidents,ManageIncidents- Incident managementManageRecords- Arrest/citation recordsManageJail- Jail managementViewImpoundLot,ManageImpoundLot- Vehicle impoundManagePenalCodes- Law managementManageUnitsCallsigns- Unit callsign managementManageUnitCallsigns- Individual unit callsignsManageNameChangeRequests- Name change approvalsManageExpungementRequests- Record expungementManageWarrants- Warrant managementPurgeLeoIncidents- Incident purging
Dispatch Permissions
Dispatch- Access dispatch panelManageActiveUnits- Control active unitsManageTowCalls- Tow call managementManageTaxiCalls- Taxi call managementManage911Calls- 911 call managementPurge911Calls- Call purgingViewTowLogs- Tow call logsViewTaxiLogs- Taxi call logs
EMS/Fire Department Permissions
EmsFd- Access EMS/FD featuresViewDeadCitizens- View deceased citizensDeclareCitizenDead- Declare citizens deceasedPurgeEmsFdIncidents- Incident purging
Other Permissions
ManageDMV- DMV managementManageLicenseExams- License exam systemManageBureauOfFirearms- Firearm permitsManageCourthousePosts- Courthouse announcementsUsePersonalApiToken- API token access
Discord Role Integration
Link custom roles to Discord roles for automatic permission assignment:- Configure Discord integration in CAD Settings
- When creating/editing a custom role, select a Discord role
- When users authenticate with Discord, they automatically receive the linked custom role
- Automatic role assignment
- Sync permissions across platforms
- No manual role management
Discord integration requires proper configuration. See Discord Integration for setup instructions.
Role Icons
Add visual badges to roles:- When creating/editing a role, upload an image
- Supported formats: PNG, JPG, GIF, WebP
- Recommended size: 64x64 to 128x128 pixels
- Next to usernames (if configured)
- In role management interfaces
- In user profiles
Assigning Roles to Users
Roles are assigned from the user management page:- Go to Admin > Manage > Users
- Click Manage next to a user
- Click Manage Roles
- Select/deselect roles
- Click Save
Role Priority and Conflicts
Permission Stacking:- Users can have multiple roles
- All permissions from all roles are combined
- Individual user permissions also stack
- No permission conflicts (more permissions always win)
Viewing Role Details
The custom roles table displays:- Name - Role name
- Permissions - List of granted permissions (expandable)
- Discord Role - Linked Discord role name (if any)
- Created At - When the role was created
- Actions - Edit and delete buttons
Search and Filtering
The custom roles list supports:- Search - Filter by role name or Discord role name
- Pagination - 35 roles per page
- Sorting - Sort by creation date (newest first)
Common Role Templates
Community Moderator
Permissions:ViewUsers, BanUsers, ViewAuditLogs, Manage911Calls, ManageTowCalls
Use for: Community helpers who handle user issues and dispatch tasks
Senior Administrator
Permissions: All admin permissions exceptDeleteUsers, ManageCustomRoles
Use for: Trusted admins with broad access but not full ownership
LEO Supervisor
Permissions:Leo, ManageRecords, ManageIncidents, ViewImpoundLot, ManageExpungementRequests, ManageWarrants
Use for: Law enforcement supervisors with record management authority
Dispatcher
Permissions:Dispatch, Manage911Calls, ManageTowCalls, ManageTaxiCalls, ManageActiveUnits, ViewTowLogs
Use for: Dedicated dispatch users
Read-Only Admin
Permissions:ViewUsers, ViewAuditLogs, ViewCustomRoles, ViewCustomFields, ViewIncidents, ViewImpoundLot
Use for: Oversight or auditing without modification rights
Audit Logging
All custom role operations are logged:CustomRoleCreate- Role createdCustomRoleUpdate- Role modified (shows permission changes)CustomRoleDelete- Role deleted
Best Practices
- Descriptive Names - Use clear role names that indicate purpose (e.g., “LEO Supervisor” instead of “Role 1”)
- Least Privilege - Grant only the permissions needed for the role
- Role Templates - Create standard roles for common positions
- Regular Audits - Review role permissions periodically
- Discord Sync - Use Discord integration for automatic role management
- Documentation - Document what each role is for and who should have it
- Test Roles - Test new roles with a test account before assigning to real users
Troubleshooting
Role Not Appearing for User
- Assignment: Verify role is assigned to the user (User Management page)
- Discord Sync: If using Discord integration, ensure user has linked their Discord account
- Cache: Clear browser cache and re-login
Permissions Not Working
- Role Assignment: Confirm role is assigned to the user
- Permission List: Verify the permission exists in the role
- Owner Rank: Owner rank overrides all roles
- Individual Permissions: Check if individual user permissions conflict
Cannot Delete Role
- Permissions: Verify you have
ManageCustomRolespermission - In Use: Roles can be deleted even if assigned to users
Discord Role Not Syncing
- Integration: Ensure Discord integration is configured
- Bot Permissions: Verify the Discord bot has role read permissions
- Role Name: Discord role names are case-sensitive
Related Documentation
- User Management - Assign roles to users
- Permissions System - Understand all available permissions
- Discord Integration - Configure Discord role sync
- Audit Logs - Review role changes