node_access

Related topics

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

Functions that call node_access()

Namesort iconLocationDescription
blogapi_blogger_edit_postmodules/blogapi/blogapi.moduleBlogging API callback. Modifies the specified blog node.
blogapi_blogger_new_postmodules/blogapi/blogapi.moduleBlogging API callback. Inserts a new blog post as a node.
blogapi_mt_publish_postmodules/blogapi/blogapi.moduleBlogging API callback. Publishes the given node
comment_menumodules/comment/comment.moduleImplementation of hook_menu().
node_accessmodules/node/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_addmodules/node/node.modulePresent a node submission form or a set of links to such forms.
node_deletemodules/node/node.moduleDelete a node.
node_formmodules/node/node.moduleGenerate the node add/edit form array.
node_menumodules/node/node.moduleImplementation of hook_menu().
node_previewmodules/node/node.moduleGenerate a node preview.
node_revisionsmodules/node/node.moduleMenu callback for revisions related activities.
node_revision_deletemodules/node/node.moduleDelete the revision with specified revision number. A "delete revision" nodeapi event is invoked when a revision is deleted.
node_revision_overviewmodules/node/node.moduleGenerate an overview table of older revisions of a node.
node_revision_revertmodules/node/node.moduleRevert to the revision with the specified revision number. A node and nodeapi "update" event is triggered (via the node_save() call) when a revision is reverted.

Functions called by node_access()

Namesort iconLocationDescription
db_queryincludes/database.incRuns a basic query in the active database.
db_resultincludes/database.pgsql.incReturn an individual result field from the previous query.
filter_accessmodules/filter/filter.moduleReturns TRUE if the user is allowed to access this format.
module_invokeincludes/module.incInvoke a hook in a particular module.
node_accessmodules/node/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_access_grantsmodules/node/node.moduleFetch an array of permission IDs granted to the given user ID.
node_get_typesmodules/node/node.moduleBuilds a list of available node types, and returns all of part of this list in the specified format.
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
 
 

Drupal is a registered trademark of Dries Buytaert.