Class IssueAccessControl

java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.IssueAccessControl
All Implemented Interfaces:
Serializable

public final class IssueAccessControl extends AccessControl
An Access Controller for Issue Tracking.
Since:
1.0
Version:
11.0
Author:
Luke
See Also:
  • Constructor Details

    • IssueAccessControl

      public IssueAccessControl(SecurityContext ctx, Issue i)
      Creates a new Access Controller.
      Parameters:
      ctx - the Command context
      i - the Issue
  • Method Details

    • validate

      public void validate()
      Description copied from class: AccessControl
      Calculates access control rights
      Specified by:
      validate in class AccessControl
    • getCanCreate

      public boolean getCanCreate()
      Returns if a new Issue can be created.
      Returns:
      TRUE if a new Issue can be created, otherwise FALSE
    • getCanRead

      public boolean getCanRead()
      Returns if the Issue can be read.
      Returns:
      TRUE if the user can read the Issue, otherwise FALSE
    • getCanComment

      public boolean getCanComment()
      Returns if a new Issue Comment can be created.
      Returns:
      TRUE if a new Issue Comment can be created, otherwise FALSE
    • getCanEdit

      public boolean getCanEdit()
      Returns if the Issue can be Edited.
      Returns:
      TRUE if the Issue can be edited, otherwise FALSE
    • getCanResolve

      public boolean getCanResolve()
      Returns if the Issue can be Resolved.
      Returns:
      TRUE if the Issue can be resolved, otherwise FALSE
    • getCanReassign

      public boolean getCanReassign()
      Returns if the Issue can be Reassigned.
      Returns:
      TRUE if the Issue can be reassigned, otherwise FALSE