Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7605

View Delete Permisson not checked properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      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>
      *+++++

            rseguy Romain Seguy
            lukasfunk lukasfunk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: