Closed (won't fix)
Project:
Activity
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 May 2008 at 20:51 UTC
Updated:
11 Sep 2010 at 15:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Scott Reynolds commentedI have two patches for nodeactivity and commentactivity that call node_access('view', $nid) in hook_activityapi(). This isn't ideal, be great if activity table had a primary_id field. THEN that could be used.
Maybe that wouldn't make it simpler.. not sure. Something to consider. But this works!
Comment #2
Anonymous (not verified) commentedThis needs to be a feature in the module.
I'm getting this error after patching the commentactivity contrib.
What could be causing this?
Comment #3
Anonymous (not verified) commentedThe Node Activity Patch seems to be working for the most part. However, it does still output an empty
<li>see attached screenshot.Comment #4
jaydub commentedcross reference with this issue:
#230010: Check node_access permissions when displaying activity
Comment #5
minesota commentedSubscribed
Comment #6
geodaniel commentedsubscribing
Comment #7
lelizondo commentedsubscribing
Comment #8
jaydub commentedOk I think the approach the original poster took in their patch is sound. I am adding this now but it will need testing across the various activity contrib modules.
Comment #9
jaydub commentedAdded an access check to the display phase of the activity records. Please test out on a development snapshot (10/31 or later).
Comment #10
jaydub commentedComment #11
jaydub commentedI've changed the title to reflect the current state of this task. We need to change the model for node access to act on activity load and not on display. This will require activity records to be able to store content IDs so that access checks can be made at load time.
This is likely to be a 6.2 branch feature.
Comment #12
merilainen commentedI would say that this is very critical. Currently I can see all the topics of comments listed in activity from private groups for example.
I'm not familiar with views filters, but I managed to hide comments which the user didn't have access with "Node access"-filter in another view. Would it be possible to have this filter in Activity also, so that the view wouldn't list the activity if the user doesn't have access to the node? Then there should be some other way to hide them from activity/all-listing.
Comment #13
sirkitree commentedClosing. 1.x no longer supported.