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
book_linkmodules/book/book.moduleImplementation of hook_link().
node_accessmodules/node/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_addmodules/node/node.pages.incPresent a node submission form or a set of links to such forms.
node_deletemodules/node/node.moduleDelete a node.
node_formmodules/node/node.pages.incGenerate the node add/edit form array.
node_previewmodules/node/node.pages.incGenerate a node preview.
node_revision_overviewmodules/node/node.pages.incGenerate an overview table of older revisions of a node.
template_preprocess_forumsmodules/forum/forum.moduleProcess variables for forums.tpl.php
translation_node_overviewmodules/translation/translation.pages.incOverview page for a node's translations.
upload_file_downloadmodules/upload/upload.moduleImplementation of hook_file_download().
_book_outline_accessmodules/book/book.moduleMenu item access callback - determine if the outline tab is accessible.

Functions called by node_access()

Namesort iconLocationDescription
db_queryincludes/database.pgsql.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.