Project

General

Profile

Actions

Feature #13767

closed

Export permissions report to CSV

Feature #13767: Export permissions report to CSV

Added by Philippe B. over 13 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Permissions and roles
Target version:
Resolution:
Fixed

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


Files

issue_13767.patch (2.25 KB) issue_13767.patch David Escala, 2016-12-14 13:18
13767.patch (4.68 KB) 13767.patch Yuichi HARADA, 2021-03-03 09:13
13767-v2.patch (4.58 KB) 13767-v2.patch Go MAEDA, 2021-03-09 14:38
0001-Added-an-option-form-so-that-you-can-select-the-enco.patch (2.8 KB) 0001-Added-an-option-form-so-that-you-can-select-the-enco.patch Yuichi HARADA, 2021-03-16 05:50

Updated by Kirpal Sukumar about 10 years ago Actions #1

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

Updated by David Escala almost 10 years ago Actions #2

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

Updated by Pavel Kestefran over 9 years ago Actions #3

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.

Updated by Shreyas Moolya over 9 years ago Actions #4

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?

Updated by Toshi MARUYAMA over 9 years ago Actions #5

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

Updated by Tina M. about 7 years ago Actions #6

+1 on this feature request

Updated by Benjamin GUILLAUME almost 6 years ago Actions #7

Hello,

This patch does not seem to work on Redmine 4.1.1 ? Is there a way to adapt it ?

Thanks !

Updated by Yuichi HARADA over 5 years ago Actions #8

I fixed issue_13767.patch to work on Redmine-trunk( r20759 ). I created a functional test and include it in a patch.

Updated by Go MAEDA over 5 years ago Actions #9

  • Target version set to Candidate for next major release

Updated by Go MAEDA over 5 years ago Actions #10

Updated by Go MAEDA over 5 years ago Actions #11

  • Subject changed from Export to CSV the permissions report to Export permissions report to CSV
  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

Updated by Go MAEDA over 5 years ago Actions #12

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Updated by Yuichi HARADA over 5 years ago Actions #13

Added an option form so that you can select the encoding when exporting CSV.

Updated by Go MAEDA over 5 years ago Actions #14

  • Status changed from Closed to Reopened

Updated by Go MAEDA over 5 years ago Actions #15

  • Status changed from Reopened to Closed

Yuichi HARADA wrote:

Added an option form so that you can select the encoding when exporting CSV.

Committed the change in r20824.

Updated by Matias Buonavolonta over 3 years ago Actions #16

Hi, I am new to this network.

I tried the different patches and none of them enabled me the option to manage which role can export to CSV.

My redmine version is redmine 4.1.1.stable.

Actions

Also available in: PDF Atom