Feature #4866

New permission: view forum

Added by Miah Xiccen almost 8 years ago. Updated 5 months ago.

Status:ClosedStart date:2010-02-17
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Permissions and roles
Target version:3.4.0
Resolution:Fixed

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
Duplicated by Redmine - Feature #2224: add view persmission for board Closed 2008-11-24

Associated revisions

Revision 16637
Added by Jean-Philippe Lang 5 months ago

New Permission: View Forum (#4866).

Patch by Felix Schäfer.

History

#1 Updated by Mischa The Evil about 6 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 about 4 years ago

#3 Updated by Felix Schäfer 7 months 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 7 months 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 7 months 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 7 months 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.

#7 Updated by Jean-Philippe Lang 5 months ago

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

Committed, thanks for the patch.

#8 Updated by Mischa The Evil 5 months ago

  • Subject changed from New Permission: View Forum to New permission: view forum

#9 Updated by Go MAEDA 3 months ago

  • Duplicated by Feature #2224: add view persmission for board added

Also available in: Atom PDF