Node Permission Rebuild Alternative
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This module enables an alternative way of rebuilding node permissions. This is useful for websites with a very large amount of nodes.
What is different from the core way
Does not delete everything when starts from node_access table - instead it only deletes the rows that it will update so that users will still see all content while they browse the website.
Batch INSERT statements - instead of creating massive amount of INSERT queries for each node it process, the module collects the grants in batches and creates one big INSERT query that does not load the database as much. The batch limit is configurable before starting the rebuild.
Configure number of nodes to process - you can now select how many nodes you want to process for one batch operation.
New permission - since some people, who probably should not rebuild the permissions, can have access the admin pages and start the procedure, the module provides a new permission just to initiate the rebuild process.
