Needs work
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code feedapi (core module)
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2008 at 20:13 UTC
Updated:
17 Sep 2009 at 20:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex_b commentedComment #2
alex_b commentedComment #3
aron novakUnfortunately the patch is not suitable. _feedapi_op_access argument is a nid, not a string.
If you'd achieve what you imagined, 'access callback' => '_feedapi_op_access', lines should be removed also.
I'm not sure that changing the behaviour of the modue at this point is not too painful for the users.
Comment #4
aron novakFixed the issue mentioned in #3. Also added the proper notification to the CHANGELOG.txt. This is a big change.
Comment #5
alex_b commented#4 - doesn't this patch make the refresh and remove tabs show up on all nodes for users with advanced feedapi permissions?
Comment #6
aron novak#5, yep, fixed.
Comment #7
alex_b commented#6: I am not sure whether why you did the patch that way, an optional argument should not be necessary. Reviewing this patch again, I think we're going down the wrong route: we allow users who own a feed and who have 'edit own' permissions to refresh and purge their feeds.
If we'd like to have some sort of a global refresh/purge option, we should use 'administer nodes' as the permission. This would be consistent with using the 'edit own' permission.
Need to think better about this. Not critical for next release.