I've added and tested an integration method for view bulk operations.

My use case was that I needed to update many nodes to add/remove grants on bulk.

Patch to follow.

Comments

barry_fisher’s picture

Patch attached, which works for me from latest dev version, although will require testing by others to ensure that it all works as expected.

I ran out of time to integrate the user based grants, so my patch only contains role based additions/removals on bulk. It would be good if someone feels they can extend this patch at the @todo points, to fully integrate the user based options.

Once patch, be sure to flush all caches so the new action hook get picked up, and enable the VBO option in your view.

vlad.pavlovic’s picture

Status: Active » Needs review
barry_fisher’s picture

StatusFileSize
new6.95 KB

Patch on #1 is based from the 7.x-1.x-dev version which I ended having issues with Integrity Constraint Violations- perhaps because the dev version is work in progress and needs review where there grants are set in hook_node_update.

Anyway, I've reverted back to 7.x-1.4 and reworked the patch to work with this version. Still needs review.

Status: Needs review » Needs work

The last submitted patch, 3: nodeaccess-vbo_support-2411933-3-D7.patch, failed testing.

Status: Needs work » Needs review
tpetrv’s picture

Hi Barry,

I'd like to create a form for bulk granting access to certain users for certain nodes. Can you suggest what will be the best way to do that?

greatmatter’s picture

I know this topic is old, but seeing an integration with VBO would be delightful!

d.fisher’s picture

Assigned: barry_fisher » Unassigned
Status: Needs review » Postponed (maintainer needs more info)

Drupal 7 security support has ended as of 5 January 2025.

We are doing some housekeeping on the nodeaccess issue queue and moving all Drupal 7 issues to "postponed (maintainer needs more info)". See https://www.drupal.org/project/nodeaccess/issues/3516593.

If this issue persists on the latest dev branch of nodeaccess (2.0.x-dev) then please feel free to comment and we will change the version against this issue. If we do not hear any feedback within 2 weeks (9th October 2025) we will go ahead and close this issue as outdated.

Thank you.

d.fisher’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

As per the above, as there has been no response we will now close this issue as outdated.

If this issue persists on the latest dev branch of nodeaccess (2.0.x-dev) then please feel free to update the version on this issue and reopen it.

Thank you.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.