Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict access, commenting, or creating topics in a category #67

Open
alesdotio opened this issue Aug 10, 2015 · 2 comments
Open

Restrict access, commenting, or creating topics in a category #67

alesdotio opened this issue Aug 10, 2015 · 2 comments

Comments

@alesdotio
Copy link
Contributor

Hi @nitely! Thanks for the great software 馃専, really made my life much easier!

I am implementing a forum based on Spirit and was wondering if you had any plans of having restrictions on categories? I think it would make sense to be able to have categories with special rules as to who can see/access them, who can create topics and who can comment. This would allow you to have private categories for only a selected few, for example a "Moderators" category; or a "Announcements" category where only admins can create topics, but everyone can comment, etc.

If you already had some ideas on how you want to do this, let me know. I will be implementing this in my fork shortly and it would be cool if we can come up with a solution that can be merged in. I think using the django.contrib.auth groups would make the most sense in this case and I would add 3 M2M fields to Category. Something like:

  • restrict_access
  • restrict_create_topic
  • restrict_create_comment
@alesdotio alesdotio changed the title Restrict access, posting, or creating topics in a category Restrict access, commenting, or creating topics in a category Aug 10, 2015
@henri-hulski
Copy link

馃憤
I also need private categories.
And thanks a lot for this beautiful forum.

@alesdotio
Copy link
Contributor Author

I started working on these changes on my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants