Project

General

Profile

Actions

Feature #12401

closed

Split "Manage documents" permission into create, edit and delete permissions

Added by Michael Esemplare over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Documents
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Due to security reasons we needed to expand the "Manage Documents" permission to allow specific settings per role. I am pushing back my changes in patch form as a feature for Redmine.


Files

document.rb.patch (627 Bytes) document.rb.patch Patch the document model Michael Esemplare, 2012-11-19 21:43
documents.show.html.erb.patch (613 Bytes) documents.show.html.erb.patch Patch the show document view Michael Esemplare, 2012-11-19 21:43
en-GB.yml.patch (574 Bytes) en-GB.yml.patch Patch the language file Michael Esemplare, 2012-11-19 21:43
redmine.rb.patch (973 Bytes) redmine.rb.patch Patch the core to add permissions Michael Esemplare, 2012-11-19 21:43
views.documents.index.html.erb.patch (674 Bytes) views.documents.index.html.erb.patch Patch the document view index Michael Esemplare, 2012-11-19 21:43

Related issues

Related to Redmine - Feature #12677: Private attachments for issuesNew

Actions
Actions #1

Updated by Terence Mill over 11 years ago

Sound intesting.
So which new rights did you add?

Actions #2

Updated by Michael Esemplare over 11 years ago

Instead of "Manage Documents" which was too abstract for our purposes, I separated the permissions into "Add Documents", "Edit Documents", and "Delete Documents". I also left the "View Documents" permission in place.

Actions #3

Updated by Terence Mill over 11 years ago

Perfect!

+1

Actions #4

Updated by Adriano Ceccarelli over 11 years ago

It worked perfectly!

However, I'm also a need permission by document type. Very difficult?

Actions #5

Updated by Jean-Philippe Lang over 11 years ago

  • Subject changed from Enhanced Documents permission to Split "Manage documents" permission into create, edit and delete permissions
  • Category changed from Permissions and roles to Documents
  • Target version set to 2.3.0
Actions #6

Updated by Abdul Halim Mat Ali over 11 years ago

We need this for the file permission too

Actions #7

Updated by Eugene B over 11 years ago

At 2.2.0 version a "private" comment type was added, but if you attach any document
to this "private" comment its available to everyone. If a "private" status will be
applied to uploaded document as well. That would be super.

Actions #8

Updated by Jan Niggemann (redmine.org team member) over 11 years ago

Eugene B wrote:

At 2.2.0 version a "private" comment type was added, but if you attach any document
to this "private" comment its available to everyone.

Eugene, can you please open a new defect for this? Thank you!

Actions #9

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Permissions changed in r11206.

Actions #10

Updated by Daniel Felix about 11 years ago

German translations:

permission_add_documents: Dokumente hinzufügen
permission_edit_documents: Dokumente bearbeiten
permission_delete_documents: Dokumente löschen

Actions #11

Updated by Toshi MARUYAMA about 11 years ago

Daniel Felix wrote:

German translations:

permission_add_documents: Dokumente hinzufügen
permission_edit_documents: Dokumente bearbeiten
permission_delete_documents: Dokumente löschen

Committed in trunk r11214, thanks.

Actions

Also available in: Atom PDF