Debug Info:
- Form fields: ['name', 'display_name', 'description', 'category_id', 'is_system', 'is_active', 'requires_2fa', 'permissions', 'submit', 'csrf_token']
- Has category field: True
- Category choices count: 4
Naming Conventions
- Use uppercase letters and underscores
- Be descriptive but concise
- Examples: ADMIN, FINANCE_MANAGER, VENDOR_USER
Role Categories
- Internal Admin: Full system access
- Internal User: Employee access
- External Admin: Partner admin access
- External User: Vendor/client access
Security Options
- System Role: Core roles that cannot be deleted
- Active: Whether the role can be assigned to users
- 2FA Required: Forces two-factor authentication
© SimSol Technologies and Services Private Limited