Department Administration
Complete guide to managing departments in LuaBeans - Community Manager.
Overview
URL: /admin/departments
Access: Admin only
Purpose: Manage departments, their settings, and configurations
Features
Department List
View all departments with:
Department name and slug
Department type (LEO, staff, business, branch)
Member count
Parent department (if applicable)
Department Actions
Available actions:
Create new department
Edit department settings
Delete department
Manage department hierarchy
Configure Discord integration
Department Search
Search departments by:
Name
Slug
Type
Parent department
Usage
Viewing Departments
Go to Admin → Departments
Browse the department list
Use search to find specific departments
Creating Departments
Click Create Department
Fill in department information:
Name
Slug (URL-friendly identifier)
Type (LEO, staff, business, branch)
Parent department (if branch)
Description
Configure Discord integration:
Discord role ID
Leadership roles
Save department
Editing Departments
Go to department list
Click Edit on a department
Modify department settings
Save changes
Deleting Departments
Go to department list
Click Delete on a department
Confirm deletion
Warning: Deleting a department will remove all memberships, roster entries, and related data.
Department Settings
Basic Information
Name - Display name
Slug - URL identifier (e.g., "police", "sheriff")
Type - Department type (LEO, staff, business, branch)
Parent - Parent department (for branches)
Description - Department description
Discord Integration
Discord Role ID - Role that grants department membership
Leadership Roles - Roles that grant leadership permissions
Guild Pairing - Discord server for RBAC
LEO Settings
For LEO departments:
Rank configuration
Vehicle management
Uniform management
Loadout management
Location management
Badge configuration
Department Hierarchy
Parent Departments
Parent departments can have child departments:
Departments can be branches of other departments
Branches inherit some settings from parent
Members of parent may have access to branches
Managing Hierarchy
Create parent department first
Create child departments and set parent
Manage hierarchy in department list
Troubleshooting
Department Not Showing
Issue: Department doesn't appear in list
Solutions:
Check department exists in database
Verify filters aren't hiding it
Check department settings
Refresh page
Cannot Delete Department
Issue: Delete action fails
Solutions:
Verify department has no members
Check for dependent data (applications, forums, etc.)
Remove all memberships first
Check console logs for errors
Related Documentation
Department Management - User-facing department pages
Last updated
