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

    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

            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.

            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.
            oleg_nenashev Oleg Nenashev added a comment -

            suvir_pavin feel free to contribute.

            oleg_nenashev Oleg Nenashev added a comment - suvir_pavin feel free to contribute.
            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

            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
            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 mhschroe is reachable. I would recommend reaching out to the maintainer somehow.

            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 mhschroe is reachable. I would recommend reaching out to the maintainer somehow.
            suvir_pavin Suvir Pavin added a comment -

            Thanks oleg_nenashev for the info.

            mhschroe can you please include the fix as part of next release?

             

             

            suvir_pavin Suvir Pavin added a comment - Thanks oleg_nenashev for the info. mhschroe can you please include the fix as part of next release?    

            People

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

              Dates

                Created:
                Updated: