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

Status Code: 404 error-page, right after submitting the jobname and type

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • matrix-auth-plugin
    • None
    • Hudson ver. 1.340

      I run into the following:
      When an user creates a new job he get a "Status Code: 404" error-page, right after he submitted the jobname and type. This does not happen when the Job - Read permission in the Project-based Matrix Authorization Strategy is switched on (by the admin). But when the Job - Read permission is switched on, the user also can see all other jobs from other projects, violating our visibility requirement (project members may only see and have access to their own jobs).

      Maybe it is a solution to move the Project-based security matrix to the same page where you register the jobname and type.
      Then the user have the possibility to set the Job-Read permission for a specific group or user.

      Regards,
      Johan.

          [JENKINS-5277] Status Code: 404 error-page, right after submitting the jobname and type

          johanv added a comment -

          Workaround:
          From the Hudson forum I learned that the Advanced Job Create plugin helps. It automatically adds the user who crates the job to the Project-based security matrix.
          Maybe this should be core concern of Hudson and not of a plug-in?

          johanv added a comment - Workaround: From the Hudson forum I learned that the Advanced Job Create plugin helps. It automatically adds the user who crates the job to the Project-based security matrix. Maybe this should be core concern of Hudson and not of a plug-in?

          Daniel Beck added a comment -

          Daniel Beck added a comment - Work in progress PR: https://github.com/jenkinsci/matrix-auth-plugin/pull/27

          Code changed in jenkins
          User: Daniel Beck
          Path:
          src/main/java/com/cloudbees/hudson/plugins/folder/properties/AuthorizationMatrixProperty.java
          src/main/java/hudson/security/AuthorizationMatrixProperty.java
          src/main/java/org/jenkinsci/plugins/matrixauth/AuthorizationMatrixNodeProperty.java
          http://jenkins-ci.org/commit/matrix-auth-plugin/3dc8f1e24bd67546d5b5c97faf2304bf1058842c
          Log:
          [FIX JENKINS-5277] Ensure that creators have read and configure access

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: src/main/java/com/cloudbees/hudson/plugins/folder/properties/AuthorizationMatrixProperty.java src/main/java/hudson/security/AuthorizationMatrixProperty.java src/main/java/org/jenkinsci/plugins/matrixauth/AuthorizationMatrixNodeProperty.java http://jenkins-ci.org/commit/matrix-auth-plugin/3dc8f1e24bd67546d5b5c97faf2304bf1058842c Log: [FIX JENKINS-5277] Ensure that creators have read and configure access

          Daniel Beck added a comment -

          Fixed towards 1.8 (or more likely 2.0 given the scope of changes)

          Daniel Beck added a comment - Fixed towards 1.8 (or more likely 2.0 given the scope of changes)

            danielbeck Daniel Beck
            johanv johanv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: