You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,14 +70,15 @@ You can assign roles to users and user groups using the _Assign Roles_ screen
70
70
* Hovering over a checkbox will show a tooltip with role, user/group and pattern.
71
71
72
72
#### Working with many roles
73
-
The UI becomes slow to load when working with many roles. A setup with 400 item roles and one user/group assigned to each role will result in
74
-
a table with 160k checkboxes. This will cause a high memory consumption of the browser and loading the page will take quite long (~ 1min and more).
75
-
To improve the loading tooltips and table highlighting are disabled when the total number of checkboxes exceeds 40000 (that is 200 roles with 200 users/groups).
73
+
To ensure a responsive UI the item assignment works with pagination. With many roles the tooltips and the highlighter might still be a bit laggy.
74
+
Applying a role filter will make them work smoothly usually.
76
75
77
-
To further improve UI response times use the filters for users and roles.
76
+
By default the number of rows is limited to 30 for the item role assignment page. You can change this by setting the system property
77
+
`com.michelin.cio.hudson.plugins.rolestrategy.RoleStrategyConfig.MAX_ROWS` at jvm start or via the script console.
78
78
79
-
Another limitation is that when you run Jenkins via the built-in Jetty, that the max number of parameters in a form submission is 10000 and the max formsize is 200000. This can be
80
-
increased by passing the parameter `--maxParamCount=N` to the Jenkins java call (See the [Winstone](https://github.com/jenkinsci/winstone) documentation) and setting the system
79
+
The number of parameters in a form submission is limited to 10000 by default in Jenkins and the max formsize is limited to 200000 by Jetty.
80
+
If you encounter problems when saving the "Manage Roles" due to too many form keys this can be increased by passing the parameter `--maxParamCount=N`
81
+
to the Jenkins java call (See the [Winstone](https://github.com/jenkinsci/winstone) documentation) and setting the system
81
82
property `-Dorg.eclipse.jetty.server.Request.maxFormContentSize=n` at jvm start.
0 commit comments