node_access_write_grants

Related topics

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

Functions that call node_access_write_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_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...

Functions called by node_access_write_grants()

Namesort iconLocationDescription
db_queryincludes/database.pgsql.incRuns a basic query in the active database.
module_implementsincludes/module.incDetermine which modules are implementing a hook.
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...
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.