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

Assign role interface does not scale to large number of users and roles

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: role-strategy-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.381, Role based strategy 1.0
    • Similar Issues:

      Description

      Hello,

      Our Hudson deployment has a lot of independent projects which need to have several roles assigned inside the team, some team members having more rights than others. The end result: lots of users, lots of projects x several roles per project = a huge bunch of roles.
      The number of users and roles will only increase - right now we are at about 50% of the final capacity.

      Trying to use the Role Based Strategy plugin, we noticed some scaling issues with the "Assign roles" page. See roleassignment-original.png attachment for the problems.

      Notice the scroll bars when having lots of users and roles. Having lots of users is ok, vertical scrolling is something common on webpages. However, having both vertical scrolling and horizontal scrolling is confusing. The Hudson row/column highlight is helpful, however the interface is still cumbersome.

      I would propose the following interface change for the assign roles page:

      • add a text box to each table row; preferably with role autocompletion, if possible
      • add a label with the list or roles for each user

      See the roleassignement-mockup.png attachment.

      Thank you for your help.

      I propose a different design for the page, to allow it to scale when having lots of users and roles

        Attachments

          Activity

          Hide
          totoroliu Rick Liu added a comment -

          Is there any update on this issue?
          It has been 6 years.

          Show
          totoroliu Rick Liu added a comment - Is there any update on this issue? It has been 6 years.
          Hide
          totoroliu Rick Liu added a comment -

          For temporarily workaround,
          is it possible to just re-display the row/col headings for every N entries?

          It's really hard to find the corresponding row/col headings
          when both row/col span over a single page.

          Show
          totoroliu Rick Liu added a comment - For temporarily workaround, is it possible to just re-display the row/col headings for every N entries? It's really hard to find the corresponding row/col headings when both row/col span over a single page.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          There is no assignee in this issue. Anybody can pick it and propose a pull request.
          BTW, some bits are addressed in https://github.com/jenkinsci/role-strategy-plugin/pull/15. Some testing will be appreciated

          Show
          oleg_nenashev Oleg Nenashev added a comment - There is no assignee in this issue. Anybody can pick it and propose a pull request. BTW, some bits are addressed in https://github.com/jenkinsci/role-strategy-plugin/pull/15 . Some testing will be appreciated
          Hide
          totoroliu Rick Liu added a comment -

          I rebase https://github.com/jenkinsci/role-strategy-plugin/pull/15 to tag role-strategy-2.3.2 and install onto Jenkins ver. 2.39.

          On Ubuntu 16.04 x64,
          chromium-browser 55.0.2883.87 is working great.
          However,
          firefox 50.1.0+build2 leads to browser frozen when visiting "Assign Roles" page.

          The same firefox issue can be reproduced on Ubuntu 15.10 x64
          with firefox 47.0.

          Show
          totoroliu Rick Liu added a comment - I rebase https://github.com/jenkinsci/role-strategy-plugin/pull/15 to tag role-strategy-2.3.2 and install onto Jenkins ver. 2.39. On Ubuntu 16.04 x64, chromium-browser 55.0.2883.87 is working great. However, firefox 50.1.0+build2 leads to browser frozen when visiting "Assign Roles" page. The same firefox issue can be reproduced on Ubuntu 15.10 x64 with firefox 47.0.
          Hide
          totoroliu Rick Liu added a comment -

          I created another pull-request https://github.com/jenkinsci/role-strategy-plugin/pull/23,
          which implement the temporary workaround
          by repeating the header row (GROUPNAME) every 20 rows and header col (USERNAME) every 10 cols.

          Show
          totoroliu Rick Liu added a comment - I created another pull-request https://github.com/jenkinsci/role-strategy-plugin/pull/23 , which implement the temporary workaround by repeating the header row (GROUPNAME) every 20 rows and header col (USERNAME) every 10 cols.

            People

            • Assignee:
              Unassigned
              Reporter:
              ccaraivan Costin Caraivan
            • Votes:
              9 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: