Improved the permission checks for AgentITSMWorkOrderAdd and AgentITSMWorkOrderAddFromTemplate.