node_access_acquire_grants

Related topics

Namesort iconDescription
Node access rightsThe node access system determines who can do what to which nodes.

Functions that call node_access_acquire_grants()

Namesort iconLocationDescription
node_access_acquire_grantsmodules/node/node.moduleThis function will call module invoke to get a list of grants and then write them to the database. It is called at node save, and should be called by modules whenever something other than a node_save causes the permissions on a node to change.
node_access_rebuildmodules/node/node.moduleRebuild the node access database. This is occasionally needed by modules that make system-wide changes to access levels.
node_savemodules/node/node.moduleSave a node object into the database.
_node_access_rebuild_batch_operationmodules/node/node.moduleBatch operation for node_access_rebuild_batch.

Functions called by node_access_acquire_grants()

Namesort iconLocationDescription
module_invoke_allincludes/module.incInvoke a hook in all enabled modules that implement it.
node_access_acquire_grantsmodules/node/node.moduleThis function will call module invoke to get a list of grants and then write them to the database. It is called at node save, and should be called by modules whenever something other than a node_save causes the permissions on a node to change.
node_access_write_grantsmodules/node/node.moduleThis function will write a list of grants to the database, deleting any pre-existing grants. If a realm is provided, it will only delete grants from that realm, but it will always delete a grant from the 'all' realm. Modules which utilize...
 
 

Drupal is a registered trademark of Dries Buytaert.