When users arn't allowed to view comments, but are allowed to view them, the viewing permission disallowed them to post.
Steps to reproduce:
- Visit admin/user/permissions
- Check that anonymous users can post comments, but can't view them (check 'post comments', uncheck 'access comments')
- Go to admin/content/types/story and make sure comments are enabled for the content type
- Create a new story
- Log out
- Visit your new story
- Try to add a comment by clicking "Add new comment"
- You're presented with "You are not authorized to view comments."
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | comments_anon_post_comments_no_view.patch | 765 bytes | robloach |
Comments
Comment #1
robloachThis might be a design decision, but I think it's a worthy issue if someone actually wants the functionality.
Comment #2
robloachHere's a patch to make it so that you can set it up so that users can post comments, but not view them. This is done in admin/user/permissions.
Comment #3
Anonymous (not verified) commentedI agree with the word change but the new functionality needs to go to version 7.
Comment #4
catch(fixed) duplicate: http://drupal.org/node/195161