Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 11:23 UTC
Updated:
9 Apr 2012 at 17:10 UTC
Hello,
I noticed that cron is executed as admin, so if anonymous does not have access to the action it will be blocked.
Perhaps a warning would be welcome when enqueuing the action, or even better, when enabling it for enqueing. :)
Comments
Comment #1
bojanz commentedDoes this happen when attempting to run a core action, or a rules component?
Access is checked for the same user who enqueued the operation, so that should work (at least for core actions).
EDIT: Okay, I see the problem.The script action does its own access checking where the behavior described above is not present and the current user is used instead.
Comment #2
bojanz commentedCommitted a fix.
Comment #3
bojanz commentedThis is the commit: http://drupalcode.org/project/views_bulk_operations.git/commitdiff/cd9d063
infojunkie might be interested in this, as far as I can see, 6.x-1.x should have the same problem.
Comment #4
infojunkieIs the
permissionattribute supported in D6? I should check.Comment #5
infojunkieSorry, I don't understand how this patch works. Who handles thepermissionattribute in the action info?Hehehe it's my own style plugin code :-)
Comment #6
infojunkieCommitted to D6.