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

Default repository permission are not considered

      If the permissions of an user are granted on organization membership rather than team membership. The PR from the user aren't considered trusted. But are considered if the user push directly to the repository.

          [JENKINS-36240] Default repository permission are not considered

          Emilio Escobar created issue -
          Jesse Glick made changes -
          Remote Link New: This issue links to "current poor implementation (Web Link)" [ 14597 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 172934 ] New: JNJira + In-Review [ 184836 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-37608 [ JENKINS-37608 ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]

          Jesse Glick added a comment -

          Good news: there is a new experimental endpoint which should give us exactly what we need.

          Jesse Glick added a comment - Good news: there is a new experimental endpoint which should give us exactly what we need.

          Jesse Glick added a comment - - edited

          In my experiments, it does work, with one caveat: if the scan token does not have administrative permission on the repository, the result is a 404. Which means that JENKINS-37608 is not satisfiable without loss of functionality.

          Jesse Glick added a comment - - edited In my experiments, it does work, with one caveat: if the scan token does not have administrative permission on the repository, the result is a 404. Which means that JENKINS-37608 is not satisfiable without loss of functionality.

          Jesse Glick added a comment -

          A 403 is also possible in certain cases.

          Jesse Glick added a comment - A 403 is also possible in certain cases.
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            stephenconnolly Stephen Connolly
            escoem Emilio Escobar
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: