Open GoogleCodeExporter opened 9 years ago
This is a good idea, if we are going down a permissions-based path should we
try to
use the existing Django permissions framework?
EG Perhaps only certain *groups* of people should be able to access a forum?
If we are going to use the code above, we also need to allow superusers to view
staff
forums.
I'll ponder the groups/permissions changes that would be needed and make a
decision
over the next few days. Thanks for the suggestion & code contribution!
Original comment by rwpoul...@gmail.com
on 4 Dec 2008 at 9:19
I like the idea of this but the patch will need significant work before I can
accept
it. Can you please update this code to include the following?
* Allow superusers to view staff forums
* Ensure you're using i18n around text (eg field names)
* On all redirects, use reverse lookups as not everybody uses /forum.
* When listing forums, only list forums that user can access. This means we
won't
even list private forums to non-staff users.
* Update the new templatetags
(http://code.google.com/p/django-forum/wiki/RecentPostTemplateTags) to exclude
private forums.
* In the forum list we should somehow signify a forum is private if the user has
access to it, eg the word 'Private' next to the thread count.
If you can update the patch I'll accept it right away. Unfortunately in it's
current
state it isn't complete enough IMO.
Original comment by rwpoul...@gmail.com
on 30 Dec 2008 at 1:56
Issue 53 has been merged into this issue.
Original comment by rwpoul...@gmail.com
on 30 Jan 2009 at 11:07
Here is a first version of the patch.
Original comment by xphuture
on 1 Feb 2009 at 12:40
Attachments:
Committed in SVN r38. Thanks for your patch!
Next step is a small patch so that superusers can see all forums - but that
isn't
important enough to prevent me putting this in.
I will leave this open as a reminder to me if it hasn't been done soon.
Original comment by rwpoul...@gmail.com
on 7 Feb 2009 at 12:46
Original issue reported on code.google.com by
he...@sandgrave-media.de
on 4 Dec 2008 at 10:35