View Delete Permisson not checked properly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The delete link in the sidepanel is not checked for the right permisson. It checks if permission is configure and not delete.
      See
      main/core/src/main/resources/hudson/model/View/sidepanel.jelly
      *-----
      53 <j:if test="${it.owner.canDelete(it)}">
      54 <l:task icon="images/24x24/edit-delete.gif" href="delete" title="${%Delete View}" permission="${it.CONFIGURE}" />
      55 </j:if>
      *-----
      Should be
      *+++++
      53 <j:if test="${it.owner.canDelete(it)}">
      54 <l:task icon="images/24x24/edit-delete.gif" href="delete" title="${%Delete View}" permission="${it.DELETE}" />
      55 </j:if>
      *+++++

            Assignee:
            Romain Seguy
            Reporter:
            lukasfunk
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: