Project

General

Profile

Actions

Feature #7068

closed

New permission: view news

Feature #7068: New permission: view news

Added by Alcides Silveira Costa almost 16 years ago. Updated over 9 years ago.

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

Description

Dear designers,

anonymous and non members users have permission to view the News and the Activity of any public project. This is good and bad, depending on how the news is used.

In my situation, I use the news to post meeting minutes, which are accessible only to the project team. Posting the minutes in the news allow us to review the main decisions in chronological order during the post mortem meeting. In addition to that, all the main events of my projects are on the news, and some of them should remain internal to the project team only.

I'd like to make some projects public, particularly due to the Roadmap, but I can't since I cannot disable the view news to anonymous and non member users. It would be great to have a feature to enable/disable the reading of the news to users in general, even internal do the project.


Files

7068-2.patch (5.53 KB) 7068-2.patch Felix Schäfer, 2017-04-18 11:22
7068-3.patch (6.59 KB) 7068-3.patch Felix Schäfer, 2017-04-21 11:43

Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #9931: In user roles news viewing can also be configurableClosedActions

Updated by Katie Nelson over 15 years ago Actions #1

+1

Any plans to develop this? We are currently using Basecamp and this is a very handy feature.

Updated by Toshi MARUYAMA almost 13 years ago Actions #2

  • Related to Feature #9931: In user roles news viewing can also be configurable added

Updated by Jan from Planio www.plan.io over 9 years ago Actions #3

We will provide a patch for this shortly.

Updated by Alcides Silveira Costa over 9 years ago Actions #4

Jan from Planio www.plan.io wrote:

We will provide a patch for this shortly.

Great!

Updated by Felix Schäfer over 9 years ago Actions #5

  • File 7068.patch added

The attached patch makes the "View News" permission configurable. Furthermore, the permission is added to every role in the default data loader, and a migration adds the permission to all existing roles. This way there should be no change for existing Redmine installations.

Updated by Felix Schäfer over 9 years ago Actions #6

I am very sorry I have forgotten the Japanese translation in the first patch. This second patch is the same as the first patch with the additional Japanese translation.

Updated by Jan from Planio www.plan.io over 9 years ago Actions #7

  • File deleted (7068.patch)

Updated by Jan from Planio www.plan.io over 9 years ago Actions #8

  • Target version set to Candidate for next minor release
  • % Done changed from 0 to 90

Updated by Go MAEDA over 9 years ago Actions #9

  • Target version changed from Candidate for next minor release to 3.4.0

The attached patch works fine as expected. Thank you for your contribution, Felix.

All project modules except Forum and News have "view_*" permission. I think that News module should have the permission too.

Updated by Felix Schäfer over 9 years ago Actions #10

Go MAEDA wrote:

All project modules except Forum and News have "view_*" permission. I think that News module should have the permission too.

Maybe we can similarly add control over the permission to view forum messages? This way everything in modules would be completely controllable by administrators.

Updated by Go MAEDA over 9 years ago Actions #11

Felix Schäfer wrote:

Go MAEDA wrote:

All project modules except Forum and News have "view_*" permission. I think that News module should have the permission too.

Maybe we can similarly add control over the permission to view forum messages? This way everything in modules would be completely controllable by administrators.

It would be even greater if view_forum permission is implemented. Redmine become more consistent and users get flexibility. There are some people who want the feature. Please see #4866.

Updated by Felix Schäfer over 9 years ago Actions #12

Go MAEDA wrote:

It would be even greater if view_forum permission is implemented. Redmine become more consistent and users get flexibility.

This was my thinking to propose this change.

There are some people who want the feature. Please see #4866.

Thank you for pointing this out, I have prepared a similar patch for view messages and have added it in #4866#note-3.

Updated by Felix Schäfer over 9 years ago Actions #13

I added test fixtures to the patch to avoid failing tests. See also #4866#note-4, Thank you Go Maeda for pointing this out.

Updated by Hirokazu Onozato over 9 years ago Actions #14

+1

In my project, this is a necessary feature.

Updated by Jean-Philippe Lang over 9 years ago Actions #15

  • Subject changed from Develop enable/disable news view access to New permission: view news
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks for the patch.

Actions

Also available in: PDF Atom