Delete Option Appears When Right Clicking Issue In Agile Board Without Permissions

XMLWordPrintable

    • 7.02
    • 2
    • Severity 3 - Minor
    • 2

      Summary

      When right clicking an issue in an Agile Board, the delete option appears even if a user does not have the Delete Issue permissions. If a non-privileged user chooses to delete, they get the following message:

       

      It seems that you have tried to perform an operation which you are not permitted to perform.

      If you think this message is wrong, please contact your JIRA administrators.

      Steps to Reproduce

      1. Create a new user.
      2. Ensure that the user does not have Delete Issues permission for a project.
      3. Navigate to an issue in that project, and select the More menu to verify that the delete option is not present.
      4. Navigate to an Agile board.
      5. Right click an issue, and notice that the Delete option is available.
      6. Click Delete to get the error message above.

      Expected Results

      No delete option will be available, similarly to how the More menu on the Issue View works.

      Actual Results

      The delete option does appear, and throws an error when selected.

      Workaround

      Update the announcement banner to hide the delete option on boards:

      <style>
      a#ghx-issue-ctx-action-delete {display:none} /* Removes delete issue option from Agile Board issue cards*/
      </style>
      
      • This will hide the "Delete" option when right-clicking an issue on the Agile Board
      • Admins can still delete tickets by simply bringing up the "Issue Detail View" and clicking on the "..."

       

            Assignee:
            Unassigned
            Reporter:
            Alex Gallien
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: