Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
7.x-3.x-dev
Component:
Integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2012 at 04:35 UTC
Updated:
5 Nov 2012 at 16:41 UTC
By default, operation_types/base.class.php sets getAccessMask to VBO_ACCESS_OP_UPDATE, a sensible assumption. However, rules_component should override this and make no assumptions about what permissions a rule component requires, since Rules both already contains its own permission system and because rules which don't update a piece of content are entirely possible.
No patch here, but the proposed change is simple enough - add
public function getAccessMask() {
return VBO_ACCESS_OP_VIEW;
}to rules_component.class.php.
Comments
Comment #1
bojanz commentedGood point. Committed: http://drupalcode.org/project/views_bulk_operations.git/commitdiff/76f09...