Feature #13767

Export to CSV the permissions report

Added by Philippe B. over 4 years ago. Updated 4 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Permissions and roles
Target version:-
Resolution:

Description

Hi,

My department hosts projects for many other departments within my company and we had to duplicate and customize the roles for each department.

As they aren't "administrator" they can't have access to the permissions report, so they ask use to get a PDF to see how their profiles are set.

We currently have 15 different roles and if we print the "Permissions report" it doesn't fit in the width.
My idea was to export the table into a CSV and then clean the unwanted columns.

Thanks

Phil

issue_13767.patch Magnifier (2.25 KB) David Escala, 2016-12-14 13:18

History

#1 Updated by Kirpal Sukumar about 1 year ago

+1 on this - but I'd also like to be able to export to PDF

#2 Updated by David Escala 10 months ago

Attached patch adds an "Also available in: CSV" link to "Permissions report". It applies to version 3.3

#3 Updated by Pavel Kestefran 8 months ago

Great patch David, thank you.

Also is there any chance to have such functionality in form of macro?
Maybe it would be easier to share the report with users on wiki.

#4 Updated by Shreyas Moolya 4 months ago

David Escala wrote:

Attached patch adds an "Also available in: CSV" link to "Permissions report". It applies to version 3.3

i am unable to apply this patch through gitbash..is there any other method by which it could be done?

#5 Updated by Toshi MARUYAMA 4 months ago

Shreyas Moolya wrote:

is there any other method by which it could be done?

On your Redmine root:

$ patch -p1 < issue_13767.patch 
patching file app/controllers/roles_controller.rb
patching file app/helpers/roles_helper.rb
patching file app/views/roles/permissions.html.erb

Also available in: Atom PDF