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

[Inheritance Plugin] - Not able to build using build button when creating a job by using Inheritance Project together with ownership + project role configuration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I plan to manage and assign roles as below attachments (ManageRole.png, AssignRole.png).
      For Global role, Admin is "siclee" and project role has been assigned based on project owner (using ownership plugin).

      The problem is I can delete, configure, cancel JOB "A" (using Inheritance Project) but not able to run/build it under swbuild user (keep prompt me "Access Denied: swbuild is missing the Job/Build permission").
      Note: Only have this issue when I using Inheritance method to create a job.

      Any ideas for this issue? Is configuration or plugin issue?
      Your advices needed.

        Attachments

        1. AccessDeniedError.png
          AccessDeniedError.png
          16 kB
        2. AssignRoles.png
          AssignRoles.png
          18 kB
        3. JobA.png
          JobA.png
          46 kB
        4. ManageRoles.png
          ManageRoles.png
          31 kB

          Issue Links

            Activity

            Hide
            suvir_pavin Suvir Pavin added a comment -

            We are also having similar issue. Can this be fixed ASAP? We have to give user's Global Permission as a workaround which is not good. Please fix this ASAP.

            Show
            suvir_pavin Suvir Pavin added a comment - We are also having similar issue. Can this be fixed ASAP? We have to give user's Global Permission as a workaround which is not good. Please fix this ASAP.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Suvir Pavin feel free to contribute.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Suvir Pavin feel free to contribute.
            Hide
            suvir_pavin Suvir Pavin added a comment -

            Oleg Nenashev I tested change done by Alex Ouzounis https://github.com/alexouzounis/jenkins-inheritance-plugin/commit/05263af27577387f8c4b014a60a11ec94a0a81ef 

            This seems to be working, can we include this as part of next release

            Show
            suvir_pavin Suvir Pavin added a comment - Oleg Nenashev I tested change done by Alex Ouzounis   https://github.com/alexouzounis/jenkins-inheritance-plugin/commit/05263af27577387f8c4b014a60a11ec94a0a81ef   This seems to be working, can we include this as part of next release
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Suvir Pavin I am not a maintainer of the Inheritance Project plugin, so I cannot help much. Currently the plugin is being hosted outside the jenkinsci organization on GitHub, and I am not sure that Martin Schröder is reachable. I would recommend reaching out to the maintainer somehow.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Suvir Pavin I am not a maintainer of the Inheritance Project plugin, so I cannot help much. Currently the plugin is being hosted outside the jenkinsci organization on GitHub, and I am not sure that Martin Schröder is reachable. I would recommend reaching out to the maintainer somehow.
            Hide
            suvir_pavin Suvir Pavin added a comment -

            Thanks Oleg Nenashev for the info.

            Martin Schröder can you please include the fix as part of next release?

             

             

            Show
            suvir_pavin Suvir Pavin added a comment - Thanks Oleg Nenashev for the info. Martin Schröder can you please include the fix as part of next release?    

              People

              • Assignee:
                mhschroe Martin Schröder
                Reporter:
                siclee Siang Choon Lee
              • Votes:
                8 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: