Closed (fixed)
Project:
Comment RSS
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 May 2011 at 06:24 UTC
Updated:
31 May 2011 at 20:31 UTC
Jump to comment: Most recent file
commentrss_node_feed_access() checks if the user can view the node, but not if the user has permission to view comments.
i'm also not sure if it makes sense to check if the user can view the node - i'm pretty sure that if the user can't view the node, then will hook_nodeapi(&$node, 'view') won't get triggered for them.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | check_comment_access-1159788-1.patch | 670 bytes | firebus |
Comments
Comment #1
firebus commentedadded a user_access call to commentrss_node_feed_access().
didn't remove the node_access check - it looks like it matters when commentrss_node_feed_access is used as an access callback when actually displaying the feed, and isn't part of the nodeapi access check at all as i previously thought...
Comment #2
dave reidFixed in Git. Thanks!
http://drupalcode.org/project/commentrss.git/commit/3c619f6
http://drupalcode.org/project/commentrss.git/commit/b7e2f51