Project

General

Profile

Actions

Feature #13767

closed

Export permissions report to CSV

Added by Philippe B. about 11 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Permissions and roles
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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
Actions #1

Updated by Kirpal Sukumar over 7 years ago

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

Actions #2

Updated by David Escala over 7 years ago

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

Actions #3

Updated by Pavel Kestefran about 7 years 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.

Actions #4

Updated by Shreyas Moolya almost 7 years 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?

Actions #5

Updated by Toshi MARUYAMA almost 7 years 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
Actions #6

Updated by Martina A. over 4 years ago

+1 on this feature request

Actions #7

Updated by Benjamin GUILLAUME about 3 years ago

Hello,

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

Thanks !

Actions #8

Updated by Yuichi HARADA about 3 years ago

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

Actions #9

Updated by Go MAEDA about 3 years ago

  • Target version set to Candidate for next major release
Actions #11

Updated by Go MAEDA about 3 years ago

  • 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.

Actions #12

Updated by Go MAEDA about 3 years ago

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

Committed the patch. Thank you for your contribution.

Actions #13

Updated by Yuichi HARADA about 3 years ago

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

Actions #14

Updated by Go MAEDA about 3 years ago

  • Status changed from Closed to Reopened
Actions #15

Updated by Go MAEDA about 3 years ago

  • 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.

Actions #16

Updated by Matias Buonavolonta about 1 year ago

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: Atom PDF