-
Notifications
You must be signed in to change notification settings - Fork 6
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If forum is a category, do not look for topics #15
Comments
FYI: A category forum can contain topics Typically they don't, but there are various methods of achieving this, one such way is to create a topic in the forum before changing the forum to a category |
Fully agree, I have converted a forum to a category and back to forum and of course still had the topics. But if in the API the details of a category are requested, should the attached topics be shown? |
I think they should, the use case I've typically seen for this is a "placeholder" topic in the category forum, typically this topic is closed to new replies and contains a FAQ of sorts to the forums contained within the category |
Great reasoning, so also categories should show the topics. But so this means also the 'post new topic' should allow posting to a category. |
I don't disagree with the logic of the discussion, however I will not be allowing my app users on my own site to post in a category. If I wanted them to be able to do that I would have made it a forum! |
This should follow bbPress' standard permissions, standard users aka It's 2am here, I'm not checking the code for what permissions |
On that part I see no issue. All permissions apply as standard bbp_insert_post is used. I'm still only doing anonymous inserting (well, with a small twist for now), but when 'logged in', the POST will fail if the poster has no adequate permissions. |
No description provided.
The text was updated successfully, but these errors were encountered: