I've just tried the Create an archive of selected files action.
At first, it seemed to work but no download link was displayed.
Having a look at the recent logs, I noticed this error:
Skipped Create an archive of selected files on file My file due to insufficient permissions.
It seems that VBO expects user to have the 'changes_property' permission on the file entity to allow the operation.
But it's not the case, even with User #1.
Shouldn't the required permission be 'views_property' instead?
I've just tried to add
<?php
'behavior' => array('views_property'),
?>
to views_bulk_operations_archive_action_info() and it works then.
Is this a bug or am I missing something?
Comments
Comment #1
anrikun commentedHere's a patch in case this is confirmed as a bug.
Comment #2
bojanz commentedMakes sense. Committed, thanks.