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

Regular users (others than admin) can't see any nested-views (other than the default one) with role-based authorization strategy activated

    Details

    • Similar Issues:

      Description

      When Role-based Authorization Strategy is applied to Jobs, users others than admin can see their jobs but can't see any Nested-Views (or sub-Nested-views) other than the default one. Only admin user can see all nested views.

        Attachments

          Issue Links

            Activity

            Hide
            mulder847 Daniel Mueller added a comment -

            i created a pull request to fix this bug: https://github.com/jenkinsci/nested-view-plugin/pull/20

            the fix involves implementing the hasPermission method in the nestedview class. the method checks if any of the containing sub views returns true for hasPermission, if none returned true, it calls super.hasPermission. this allows configuration of empty nested views.

            Show
            mulder847 Daniel Mueller added a comment - i created a pull request to fix this bug: https://github.com/jenkinsci/nested-view-plugin/pull/20 the fix involves implementing the hasPermission method in the nestedview class. the method checks if any of the containing sub views returns true for hasPermission, if none returned true, it calls super.hasPermission. this allows configuration of empty nested views.
            Hide
            harrygg Harry G. added a comment -

            True, we also use Folders Plugin. It avoids this bug, but introduces a different concept - with some other advantages, but lots of changes.

            Show
            harrygg Harry G. added a comment - True, we also use Folders Plugin. It avoids this bug, but introduces a different concept - with some other advantages, but lots of changes.
            Hide
            mcklaus Klaus Azesberger added a comment - - edited

            I'm not sure yet, but we recently discovered that the folder plugin (there is also a non-enterprise one) could maybe become handy in these cases instead of using the nested view plugin. hth

            Show
            mcklaus Klaus Azesberger added a comment - - edited I'm not sure yet, but we recently discovered that the folder plugin (there is also a non-enterprise one) could maybe become handy in these cases instead of using the nested view plugin. hth
            Hide
            jroyer Joël Royer added a comment - - edited

            Issue is still present in 1.549!!!

            I have a nested view, with one sub-view (type list view).

            Admin users can see nested view and its sub-view, and all jobs associated with it.
            Regulars users (with only Global Read permission), can't see the nested view. But they can see jobs in the tab "All".

            The only way I found is to assign View Read Permission to regulars users. But they can see all views, even those without jobs.

            Show
            jroyer Joël Royer added a comment - - edited Issue is still present in 1.549!!! I have a nested view, with one sub-view (type list view). Admin users can see nested view and its sub-view, and all jobs associated with it. Regulars users (with only Global Read permission), can't see the nested view. But they can see jobs in the tab "All". The only way I found is to assign View Read Permission to regulars users. But they can see all views, even those without jobs.
            Hide
            s0undt3ch Pedro Algarvio added a comment -

            Using 1.5.45, this is still present for, at least, list views.

            Show
            s0undt3ch Pedro Algarvio added a comment - Using 1.5.45, this is still present for, at least, list views.

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                aherbe Anthony HERBÉ
              • Votes:
                16 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated: