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

Error configuring git on build - Overall Administrative privileges

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins version: 2.462.1
      Git Client plugin: 5.0.0
      Git plugin: 5.3.0

      The user has full access to the folder and the job, however does not have Overall Administrative privileges.

      I expect the user to be able to configure the job without issue.

      The user receives an error that they don't have permission and the top banner is duplicated down in the git section. 

      In my logs I see

      {{Aug 07 16:03:30 server java[1023]: 2024-08-07 20:03:30.162+0000 [id=40]        INFO        o.e.j.s.h.ContextHandler$Context#log: While serving https://server/job/folder-name/job/jon-name/descriptorByName/jenkins.plugins.git.GitSCMSource/checkRemote: hudson.security.AccessDeniedException3: username is missing the Overall/Administer permission}}
      

       
       

          [JENKINS-73676] Error configuring git on build - Overall Administrative privileges

          Jon Schewe created issue -
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-1642 proposed fix for incorrect permission check (Web Link)" [ 29941 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Released As New: https://github.com/jenkinsci/git-plugin/releases/tag/git-5.4.0
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            markewaite Mark Waite
            jschewe Jon Schewe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: