[drupal-devel] [feature] New permission: access forums

chx drupal-devel at drupal.org
Fri Apr 1 21:34:33 UTC 2005


Issue status update for http://drupal.org/node/19823

 Project:      Drupal
 Version:      cvs
 Component:    forum.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  willmoy
 Reported by:  willmoy
 Updated by:   chx
 Status:       won't fix

check my sendbox for privateterms.module. With that, you can define
terms which requires access privateterms privilege. You can not see
nodes which are attached to these terms without that privilege, too. 
It requires a very small taxonomy patch. It's 4.6 only. It does not use
node access system for performance reasons and it does not work when a
node belongs to multiple private terms. However, this very rarely
happens with forum.


chx



Previous comments:
------------------------------------------------------------------------

April 1, 2005 - 16:59 : willmoy

Attachment: http://drupal.org/files/issues/access-forums.patch (1.17 KB)

This simple patch (basically s/access content/access forums/g) makes it
possible to restrict view access to forums.
This is useful e.g. for sites that want anonymous users to be able to
see pages etc. but want people to have to log in before reading the
forums.
I don't have a HEAD install anywhere, but the equivalent changes on my
4.5 installation are working just fine.


------------------------------------------------------------------------

April 1, 2005 - 17:19 : moshe weitzman

this won't hide forum posts from the home page, etc. if you want this
type of access control, you have to implement a node access module. see
the node permission API.





More information about the drupal-devel mailing list