"drush node-access-rebuild-progressive" should not rebuild access grants if not needed

Created on 8 February 2021, about 4 years ago
Updated 7 July 2023, over 1 year ago

Problem/Motivation

drush node-access-rebuild-progressive always rebuild the access grants even if not needed.

Steps to reproduce

Run drush node-access-rebuild-progressive twice in a row.
It processes the same nodes each time.

Proposed resolution

The command should only do something if node_access_needs_rebuild() is true.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024