Module: functionTemplate

Function/Office Template Management Router This router provides comprehensive endpoints for managing function templates (offices/roles) within the member management system. Function templates define standard roles, responsibilities, and permissions that can be assigned to members within groups. Key Features: - Template creation and management for offices/functions - Permission and qualification requirements - Gender and group restrictions - Voting rights and hierarchical permissions - Template-based role assignments - Integration with achievement/qualification system Business Rules: - All offices must be created from predefined templates - Templates can have gender restrictions (male, female, or neutral) - Templates can be restricted to specific group types or hierarchies - Templates can include qualification requirements - Templates can grant voting rights at different organizational levels - Templates support both permanent and temporary role assignments
Source:

Requires

  • module:express
  • module:@/utils/authChecks
  • module:@/utils/requestLogger
  • module:./functionTemplate/controller