Similar to Jenny's work on the per forum developer view only toggle, we want to be able to restrict anon posting to forums at the forum, rather than tool, level.
So, the 3 options for a forum would be
- *anon can unmoderated post, and read
- *authenticated can unmoderated post, *anon can only read
- Member can read/post/unmoderated post, *anon and *auth cannot read/post/unmoderated post
Diff:
Diff:
I put this one on js/2962 since they had some related code and could be reviewed together. To test, create/edit a forum to not allow anonymous posts and make sure that all methods to make a post are hidden and if you try it redirects to the login page. Then make the forum anon postable and confirm that posting is now successful.
I added the migration to forge classic js/2962.