Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: bojanz commentedGood point. Committed: http://drupalcode.org/project/views_bulk_operations.git/commitdiff/76f09...