Index: openacs-4/packages/forums/lib/forums/forums-chunk-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/Attic/forums-chunk-oracle.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/forums/lib/forums/forums-chunk-oracle.xql 15 Jun 2007 11:59:55 -0000 1.4 +++ openacs-4/packages/forums/lib/forums/forums-chunk-oracle.xql 27 Apr 2009 16:32:22 -0000 1.5 @@ -11,11 +11,7 @@ $unread_or_new_query_clause from forums_forums_enabled where forums_forums_enabled.package_id = :package_id - and ( - forums_forums_enabled.posting_policy = 'open' - or forums_forums_enabled.posting_policy = 'moderated' - or 't' = acs_permission.permission_p(forums_forums_enabled.forum_id, :user_id, 'forum_read') - ) + and acs_permission.permission_p(forums_forums_enabled.forum_id, :user_id, 'read') = 't' order by forums_forums_enabled.name Index: openacs-4/packages/forums/lib/forums/forums-chunk-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/forums/Attic/forums-chunk-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/forums/lib/forums/forums-chunk-postgresql.xql 15 Jun 2007 11:59:55 -0000 1.4 +++ openacs-4/packages/forums/lib/forums/forums-chunk-postgresql.xql 27 Apr 2009 16:32:22 -0000 1.5 @@ -11,11 +11,7 @@ $unread_or_new_query_clause from forums_forums_enabled where forums_forums_enabled.package_id = :package_id - and ( - forums_forums_enabled.posting_policy = 'open' - or forums_forums_enabled.posting_policy = 'moderated' - or 't' = acs_permission__permission_p(forums_forums_enabled.forum_id, :user_id,'forum_read') - ) + and acs_permission__permission_p(forums_forums_enabled.forum_id, :user_id,'read') = 't' order by forums_forums_enabled.name