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

Wipeout permission isn't implied by administer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In 1.418 (2011/06/27) there was WipeOut permission introduced.
      But when enabling it admins loose ability to do wipeouts.
      I think, this happens because permission isn't linked with basic one.
      I believe changing line in hudson.model.Item to something like that will fix the problem:

      Permission WIPEOUT = new Permission(PERMISSIONS, "WipeOut", Messages._AbstractProject_WipeOutPermission_Description(), Permission.DELETE, Functions.isWipeOutPermissionEnabled(), new PermissionScope[]

      {PermissionScope.ITEM}

      );

        Attachments

          Activity

          Hide
          yury_mikhailenko Yury Mikhailenko added a comment -

          ARTIFACTS permission should also have the same problem. It's implied by null as well.

          Show
          yury_mikhailenko Yury Mikhailenko added a comment - ARTIFACTS permission should also have the same problem. It's implied by null as well.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yury_mikhailenko Yury Mikhailenko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: