Class SimpleIssueFieldSecurityType

All Implemented Interfaces:
SchemeType, SecurityType
Direct Known Subclasses:
CurrentAssignee, CurrentAssigneeHasAssignablePermission, CurrentReporter, CurrentReporterHasCreatePermission

public abstract class SimpleIssueFieldSecurityType extends AbstractIssueFieldSecurityType
The common class for IssueField SecurityTypes that rely on a simple field (ie a field of the Issue Generic Value).
Since:
v4.3
  • Constructor Details

    • SimpleIssueFieldSecurityType

      public SimpleIssueFieldSecurityType()
  • Method Details

    • getField

      protected abstract String getField()
    • hasIssuePermission

      protected boolean hasIssuePermission(ApplicationUser user, boolean issueCreation, Issue issue, String parameter)
      Specified by:
      hasIssuePermission in class AbstractIssueFieldSecurityType
    • getFieldValue

      protected abstract String getFieldValue(Issue issue)
      Returns the user key value for the given issue for the field that this security type checks.
      Parameters:
      issue - the Issue
      Returns:
      the user key value for the given issue for the field that this security type checks.