user_access

Functions that call user_access()

Namesort iconLocationDescription
aggregator_blockmodules/aggregator/aggregator.moduleImplementation of hook_block().
aggregator_menumodules/aggregator/aggregator.moduleImplementation of hook_menu().
block_admin_configuremodules/block/block.moduleMenu callback; displays the block configuration form.
block_menumodules/block/block.moduleImplementation of hook_menu().
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_validate_usermodules/blogapi/blogapi.moduleEnsure that the given user has permission to edit a blog.
blog_accessmodules/blog/blog.moduleImplementation of hook_access().
blog_blockmodules/blog/blog.moduleImplementation of hook_block().
blog_menumodules/blog/blog.moduleImplementation of hook_menu().
blog_page_usermodules/blog/blog.moduleDisplays a Drupal page containing recent blog entries of a given user.
blog_usermodules/blog/blog.moduleImplementation of hook_user().
book_accessmodules/book/book.moduleImplementation of hook_access().
book_export_htmlmodules/book/book.moduleThis function is called by book_export() to generate HTML for export.
book_formmodules/book/book.moduleImplementation of hook_form().
book_linkmodules/book/book.moduleImplementation of hook_link().
book_menumodules/book/book.moduleImplementation of hook_menu().
book_submitmodules/book/book.moduleImplementation of hook_submit().
book_tocmodules/book/book.moduleReturns an array of titles and nid entries of book pages in table of contents order.
comment_accessmodules/comment/comment.moduleThis is *not* a hook_access() implementation. This function is called to determine whether the current user has access to a particular comment.
comment_admin_settingsmodules/comment/comment.moduleMenu callback; presents the comment settings page.
comment_blockmodules/comment/comment.moduleImplementation of hook_block().
comment_linkmodules/comment/comment.moduleImplementation of hook_link().
comment_menumodules/comment/comment.moduleImplementation of hook_menu().
comment_rendermodules/comment/comment.moduleRenders comment(s).
comment_replymodules/comment/comment.moduleThis function is responsible for generating a comment reply form. There are several cases that have to be handled, including: replies to comments replies to nodes attempts to reply to nodes that can no longer accept comments respecting access...
comment_savemodules/comment/comment.moduleAccepts a submission of new or changed comment content.
contact_menumodules/contact/contact.moduleImplementation of hook_menu().
drupal_menumodules/drupal/drupal.moduleImplementation of hook_menu().
example_element_menudeveloper/examples/example_element.moduleImplementation of hook_menu().
fileupload_accessdeveloper/examples/fileupload.moduleImplementation of hook_access.
fileupload_file_downloaddeveloper/examples/fileupload.moduleImplementation of hook_file_download.
fileupload_menudeveloper/examples/fileupload.moduleImplementation of hook_menu.
filter_accessmodules/filter/filter.moduleReturns TRUE if the user is allowed to access this format.
filter_formatsmodules/filter/filter.moduleRetrieve a list of input formats.
filter_menumodules/filter/filter.moduleImplementation of hook_menu().
forum_accessmodules/forum/forum.moduleImplementation of hook_access().
forum_blockmodules/forum/forum.moduleImplementation of hook_block().
forum_menumodules/forum/forum.moduleImplementation of hook_menu().
help_menumodules/help/help.moduleImplementation of hook_menu().
hook_accessdeveloper/hooks/node.phpDefine access restrictions.
hook_file_downloaddeveloper/hooks/core.phpAllow file downloads.
hook_linkdeveloper/hooks/core.phpDefine internal Drupal links.
hook_menudeveloper/hooks/core.phpDefine menu items and page callbacks.
hook_nodeapideveloper/hooks/core.phpAct on nodes defined by other modules.
hook_node_grantsdeveloper/hooks/core.phpInform the node access system what permissions the user has.
locale_menumodules/locale/locale.moduleImplementation of hook_menu().
menu_form_altermodules/menu/menu.moduleImplementation of hook_form_alter(). Add menu item fields to the node form.
menu_menumodules/menu/menu.moduleImplementation of hook_menu().
menu_nodeapimodules/menu/menu.moduleImplementation of hook_nodeapi().
menu_primary_linksincludes/menu.incReturns an array containing the primary links. Can optionally descend from the root of the Primary links menu towards the current node for a specified number of levels and return that submenu. Used to generate a primary/secondary menu from different...
node_accessmodules/node/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_access_example_node_grantsdeveloper/examples/node_access_example.moduleImplementation of hook_node_grants().
node_content_accessmodules/node/node.moduleImplementation of hook_access().
node_example_accessdeveloper/examples/node_example.moduleImplementation of hook_access().
node_formmodules/node/node.moduleGenerate the node add/edit form array.
node_form_altermodules/node/node.moduleImplementation of hook_form_alter().
node_menumodules/node/node.moduleImplementation of hook_menu().
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.
node_submitmodules/node/node.modulePrepare node for save and allow modules to make changes.
node_validatemodules/node/node.modulePerform validation checks on the given node.
page_example_menudeveloper/examples/page_example.moduleImplementation of hook_menu().
path_admin_delete_confirmmodules/path/path.moduleMenu callback; confirms deleting an URL alias
path_form_altermodules/path/path.moduleImplementation of hook_form_alter().
path_menumodules/path/path.moduleImplementation of hook_menu().
path_nodeapimodules/path/path.moduleImplementation of hook_nodeapi().
poll_accessmodules/poll/poll.moduleImplementation of hook_access().
poll_blockmodules/poll/poll.moduleImplementation of hook_block().
poll_formmodules/poll/poll.moduleImplementation of hook_form().
poll_loadmodules/poll/poll.moduleImplementation of hook_load().
poll_menumodules/poll/poll.moduleImplementation of hook_menu().
profile_blockmodules/profile/profile.moduleImplementation of hook_block().
profile_browsemodules/profile/profile.moduleMenu callback; display a list of user information.
profile_menumodules/profile/profile.moduleImplementation of hook_menu().
search_blockmodules/search/search.moduleImplementation of hook_block().
search_menumodules/search/search.moduleImplementation of hook_menu().
statistics_blockmodules/statistics/statistics.moduleImplementation of hook_block().
statistics_linkmodules/statistics/statistics.moduleImplementation of hook_link().
statistics_menumodules/statistics/statistics.moduleImplementation of hook_menu().
system_menumodules/system/system.moduleImplementation of hook_menu().
system_theme_select_formmodules/system/system.moduleReturns a fieldset containing the theme select form.
taxonomy_menumodules/taxonomy/taxonomy.moduleImplementation of hook_menu().
theme_aggregator_block_itemmodules/aggregator/aggregator.moduleFormat an individual feed item for display in the block.
theme_aggregator_feedmodules/aggregator/aggregator.moduleFormat a news feed.
theme_forum_displaymodules/forum/forum.moduleFormat the forum body.
theme_get_settingsincludes/theme.incRetrieve an associative array containing the settings for a theme.
theme_usernameincludes/theme.incFormat a username.
tracker_menumodules/tracker/tracker.moduleImplementation of hook_menu().
tracker_track_usermodules/tracker/tracker.moduleMenu callback. Prints a listing of active nodes on the site.
upload_linkmodules/upload/upload.moduleImplementation of hook_link().
upload_menumodules/upload/upload.moduleImplementation of hook_menu().
upload_nodeapimodules/upload/upload.moduleImplementation of hook_nodeapi().
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
user_blockmodules/user/user.moduleImplementation of hook_block().
user_build_filter_querymodules/user/user.moduleBuild query for user administration filters based on session.
user_menumodules/user/user.moduleImplementation of hook_menu().
user_savemodules/user/user.moduleSave changes to a user account or add a new user.
user_searchmodules/user/user.moduleImplementation of hook_search().
user_user_operationsmodules/user/user.moduleImplementation of hook_user_operations().
_aggregator_page_listmodules/aggregator/aggregator.modulePrints an aggregator page listing a number of feed items. Various menu callbacks use this function to print their feeds.
_menu_site_is_offlineincludes/menu.incReturns TRUE if the site is off-line for maintenance.
_node_access_join_sqlmodules/node/node.moduleGenerate an SQL join clause for use in fetching a node listing.
_node_access_where_sqlmodules/node/node.moduleGenerate an SQL where clause for use in fetching a node listing.
_upload_preparemodules/upload/upload.moduleSave new uploads and attach them to the node object. append file_previews to the node object as well.

Functions called by user_access()

Namesort iconLocationDescription
db_fetch_objectincludes/database.pgsql.incFetch one result row from the previous query as an object.
db_queryincludes/database.incRuns a basic query in the active database.
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
 
 

Drupal is a registered trademark of Dries Buytaert.