Closed (fixed)
Project:
OG Forum
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
29 Oct 2009 at 15:39 UTC
Updated:
24 Nov 2009 at 13:20 UTC
Jump to comment: Most recent
On the add forum topic page, if the gids argument is supplied as 'gids[]', all forum containers are visible in the 'Forums' drop down box, regardless of whether the logged in user actually has access to see them.
The attached patch checks to see if the user is a member of the supplied group. So if 'gids[]' is the argument, no query is returned for the list of forums, since the empty string is not a valid group id.
See the patch. This is the first one I've made so let me know if I've not explained it very well here!
| Comment | File | Size | Author |
|---|---|---|---|
| og_forum-term-access.patch | 1.54 KB | james.williams |
Comments
Comment #1
steven jones commentedsubscribing.
Comment #2
Anonymous (not verified) commentedGreat catch, ill get that committed today.
Best,
Paul Booker
Comment #3
Anonymous (not verified) commentedComment #4
Anonymous (not verified) commentedOops!