プロジェクト

全般

プロフィール

Vote #73769

完了

Export permissions report to CSV

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Permissions and roles_17
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
17
version_id:
152
issue_org_id:
13767
author_id:
61376
assigned_to_id:
332
comments:
15
status_id:
5
tracker_id:
2
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

+1 on this - but I'd also like to be able to export to PDF
--------------------------------------------------------------------------------
Attached patch adds an "Also available in: CSV" link to "Permissions report". It applies to version 3.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.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Shreyas Moolya wrote:
> is there any other method by which it could be done?

On your Redmine root:

<pre>
$ 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
</pre>
--------------------------------------------------------------------------------
+1 on this feature request
--------------------------------------------------------------------------------
Hello,

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

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

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------
Added an option form so that you can select the encoding when exporting CSV.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Yuichi HARADA wrote:
> Added an option form so that you can select the encoding when exporting CSV.

Committed the change in r20824.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリPermissions and roles_17 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0