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

Listing and validation of files with permission check

XMLWordPrintable

      When providing the list of files in ManagedFile$DescriptorImpl#doFillFileIdItems, if the user doesn't have the permission to access the files, the page might look broken. Providing an empty list with a warning / error message about the permission might provide a better UX.

      It is the same of the ManagedFile$DescriptorImpl#doCheckFileId.

      This might be easily testable with a user not able to create projects on the Jenkins root level and trying to access the /pipeline-syntax.

      This was originally suggested by danielbeck on https://github.com/jenkinsci/config-file-provider-plugin/pull/155#pullrequestreview-812252726. Thank you Daniel.

            alecharp Adrien Lecharpentier
            alecharp Adrien Lecharpentier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: