Project

General

Profile

Actions

Feature #4866

closed

New permission: view forum

Added by Miah Xiccen about 14 years ago. Updated almost 7 years ago.

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

0%

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


Files

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

Related issues

Related to Redmine - Feature #7555: Private forumsNew2011-02-05

Actions
Has duplicate Redmine - Feature #8618: New Permission: View ForumClosed2011-06-15

Actions
Has duplicate Redmine - Feature #2224: add view persmission for boardClosed2008-11-24

Actions
Actions #1

Updated by Mischa The Evil over 12 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.

Actions #2

Updated by Mischa The Evil over 10 years ago

Actions #3

Updated by Felix Schäfer almost 7 years 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.

Actions #4

Updated by Go MAEDA almost 7 years 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?

ruby test/functional/boards_controller_test.rb

ruby test/functional/messages_controller_test.rb

Actions #5

Updated by Felix Schäfer almost 7 years 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.

Actions #6

Updated by Go MAEDA almost 7 years 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.

Actions #7

Updated by Jean-Philippe Lang almost 7 years ago

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

Committed, thanks for the patch.

Actions #8

Updated by Mischa The Evil almost 7 years ago

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

Updated by Go MAEDA over 6 years ago

  • Has duplicate Feature #2224: add view persmission for board added
Actions

Also available in: Atom PDF