Class AutomationRuleManagementServiceImpl

java.lang.Object
com.codebarrel.jira.plugin.automation.service.AutomationRuleManagementServiceImpl
All Implemented Interfaces:
AutomationRuleManagementService

@Component public class AutomationRuleManagementServiceImpl extends Object implements AutomationRuleManagementService
Default AutomationRuleManagementService implementation.

Replicates the admin checks performed by RuleResource:

  • Jira global admin: may manage any rule.
  • A4J project admin: may manage a rule restricted to a single project they administer.
  • Otherwise: throws RuleManagementForbiddenException.

Always operates against NativeTenant.GLOBAL_TENANT since Jira DC is single-tenant.

Since:
v10.3