[ 
https://issues.jenkins-ci.org/browse/JENKINS-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162450#comment-162450
 ] 

Daniel Petisme commented on JENKINS-8075:
-----------------------------------------

Sure, it's possible.
[Export to CSV| 
https://github.com/danielpetisme/jenkins-scripts/blob/master/scriptler/export-role-strategy-permissions-to-csv.groovy]

I've opened a pull request to add it into the official scriptler catalog.

Tutorial:
1 - [Assign your 
roles|https://issues.jenkins-ci.org/secure/attachment/21791/roles-assignation.png]
2 - Go to Manage Jenkins > Script Console
3 - Copy'n'Paste the [export-role-strategy-permissions-to-csv.groovy| 
https://github.com/danielpetisme/jenkins-scripts/blob/master/scriptler/export-role-strategy-permissions-to-csv.groovy]
 script
4 - Execute it, the script will display the [CSV 
output|https://issues.jenkins-ci.org/secure/attachment/21792/roles-strategy-csv-export.png]
5 - You're done!! You just have to copy the output to use it in a _Excel-like_ 
tool

To be franck, I don't know when I could work on the plugin to improve it :(
                
> Assign role interface does not scale to large number of users and roles
> -----------------------------------------------------------------------
>
>                 Key: JENKINS-8075
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-8075
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: role-strategy
>         Environment: Hudson 1.381, Role based strategy 1.0
>            Reporter: Costin Caraivan
>            Assignee: Daniel Petisme
>            Priority: Minor
>         Attachments: JENKINS-8075.png, roleassignment-mockup.png, 
> roleassignment-original.png, roles-assignation.png, 
> roles-strategy-csv-export.png
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to