Feature #7068

Develop enable/disable news view access

Added by Alcides Silveira Costa over 6 years ago. Updated 9 days ago.

Status:NewStart date:2010-12-07
Priority:NormalDue date:
Assignee:-% Done:

90%

Category:Permissions and roles
Target version:3.4.0
Resolution:

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.

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

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


Related issues

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

History

#1 Updated by Katie Nelson about 6 years ago

+1

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

#2 Updated by Toshi MARUYAMA over 3 years ago

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

#3 Updated by Jan from Planio www.plan.io about 1 month ago

We will provide a patch for this shortly.

#4 Updated by Alcides Silveira Costa about 1 month ago

Jan from Planio www.plan.io wrote:

We will provide a patch for this shortly.

Great!

#5 Updated by Felix Schäfer about 1 month 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.

#6 Updated by Felix Schäfer about 1 month 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.

#7 Updated by Jan from Planio www.plan.io about 1 month ago

  • File deleted (7068.patch)

#8 Updated by Jan from Planio www.plan.io about 1 month ago

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

#9 Updated by Go MAEDA about 1 month 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.

#10 Updated by Felix Schäfer about 1 month 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.

#11 Updated by Go MAEDA about 1 month 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.

#12 Updated by Felix Schäfer about 1 month 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.

#13 Updated by Felix Schäfer about 1 month 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.

#14 Updated by Hirokazu Onozato 9 days ago

+1

In my project, this is a necessary feature.

Also available in: Atom PDF