Project

General

Profile

Actions

Feature #7068

closed

New permission: view news

Added by Alcides Silveira Costa almost 14 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Permissions and roles
Target version:
Start date:
2010-12-07
Due date:
% Done:

90%

Estimated time:
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

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

Actions
Actions #1

Updated by Katie Nelson over 13 years ago

+1

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

Actions #2

Updated by Toshi MARUYAMA about 11 years ago

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

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

We will provide a patch for this shortly.

Actions #4

Updated by Alcides Silveira Costa over 7 years ago

Jan from Planio www.plan.io wrote:

We will provide a patch for this shortly.

Great!

Actions #5

Updated by Felix Schäfer over 7 years ago

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

Actions #6

Updated by Felix Schäfer over 7 years ago

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.

Actions #7

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

  • File deleted (7068.patch)
Actions #8

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

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

Updated by Go MAEDA over 7 years ago

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

Actions #10

Updated by Felix Schäfer over 7 years ago

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.

Actions #11

Updated by Go MAEDA over 7 years ago

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.

Actions #12

Updated by Felix Schäfer over 7 years ago

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.

Actions #13

Updated by Felix Schäfer over 7 years ago

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

Actions #14

Updated by Hirokazu Onozato over 7 years ago

+1

In my project, this is a necessary feature.

Actions #15

Updated by Jean-Philippe Lang over 7 years ago

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