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

"Shelved Projects" is not visible for non-adminstrators with create permission

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm using project based authorisation.

      The documentation on https://plugins.jenkins.io/shelve-project-plugin/ sais:
      "Shelving a project requires the DELETE permission. Unshelving a project requires the CREATE permission"

      I observed:
      With the "shelve project" Action everythin is ok.

      But: Non-administrator user do not see the navigation entry: "shelved projects", even if they have the create permission. Thus they cannot unpack their lately packed projects.

      I would expect that non-adminstrative users could restore projects if the have CREATE permission as it is written in the documentation.

      I think this is a side effect of issue "JENKINS-55462".
      and this commit:
      https://github.com/jenkinsci/shelve-project-plugin/commit/2cb2db06167ebe4b80075ad67cea0ee36b4e45ca#diff-98f696bcda8cb0891e558d0ad7ec5d575e5958be91f18490173b78ccbc74422a

      As issue JENKINS-55462 does not mention that "unshelved projects" option should be restricted to administrator I guess this side effect was not intentionally.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierrebtz Pierre Beitz
              Reporter:
              maluge Matthias Ludwig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: