Feature #4866

New Permission: View Forum

Added by Miah Xiccen over 7 years ago. Updated about 1 month ago.

Status:NewStart date:2010-02-17
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Permissions and roles
Target version:3.4.0
Resolution:

Description

Currently it would be nice to be able to forbid viewing project forums to anonymous users.
A "Can view forums" checkbox in role permissions would suffice.

4866.patch Magnifier (3.59 KB) Felix Schäfer, 2017-04-19 16:49

4866-2.patch Magnifier (4.69 KB) Felix Schäfer, 2017-04-21 11:00


Related issues

Related to Redmine - Feature #7555: Private forums New 2011-02-05
Duplicated by Redmine - Feature #8618: New Permission: View Forum Closed 2011-06-15

History

#1 Updated by Mischa The Evil over 5 years ago

  • Subject changed from Forum view permissions to New Permission: View Forum

This would solve several use-cases I think. Some quotes from #8618 (duplicating issue):

Jochen Manz wrote:

Most of the Permission do have a View XXXX checkbox, but not the forum. In my case i wanted to give a customer access to our redmine. In fact he is able to see our discussion forum which is not ment to be public. Its definetly a missing thing.

mark B. wrote:

I've got the same problem. Work-around was to move the forum to another private project, but this is less than ideal, as it really should all be in the same project. Causes confusion and extra clicks.

#2 Updated by Mischa The Evil over 3 years ago

#3 Updated by Felix Schäfer about 1 month ago

The attached patch makes the "view messages" permission configurable, similar to #7068#note-5. This patch does not include translations as those are already present.

#4 Updated by Go MAEDA about 1 month ago

  • Target version set to Candidate for next major release

Felix, thank you for the patch. It works fine but breaks some tests on my environment. Could you take a look?

#5 Updated by Felix Schäfer about 1 month ago

You are correct, the tests make the assumption that this permission is public. I have added the permission to the test fixtures and they work now.

#6 Updated by Go MAEDA about 1 month ago

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

The patch works fine and passed all tests.
I think that delivering this feature along with #7068 makes permission control system of Redmine more consistent. Setting target version to 3.4.0.

Also available in: Atom PDF