user_access

Functions that call user_access()

Namesort iconLocationDescription
aggregator_blockmodules/aggregator/aggregator.moduleImplementation of hook_block().
aggregator_categorize_items_validatemodules/aggregator/aggregator.pages.incValidate aggregator_categorize_items() form submissions.
block_admin_configuremodules/block/block.admin.incMenu callback; displays the block configuration form.
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.
blogapi_status_error_checkmodules/blogapi/blogapi.moduleCheck that the user has permission to save the node with the chosen status.
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_page_lastmodules/blog/blog.pages.incMenu callback; displays a Drupal page containing recent blog entries of all users.
blog_page_usermodules/blog/blog.pages.incMenu callback; displays a Drupal page containing recent blog entries of a given user.
blog_page_user_accessmodules/blog/blog.moduleAccess callback for user blog pages.
blog_user_viewmodules/blog/blog.moduleImplementation of hook_user_view().
book_export_htmlmodules/book/book.pages.incThis function is called by book_export() to generate HTML for export.
book_form_altermodules/book/book.moduleImplementation of hook_form_alter().
book_linkmodules/book/book.moduleImplementation of hook_link().
book_nodeapi_preparemodules/book/book.moduleImplementation of hook_nodeapi_prepare().
book_nodeapi_presavemodules/book/book.moduleImplementation of hook_nodeapi_presave().
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_blockmodules/comment/comment.moduleImplementation of hook_block().
comment_formmodules/comment/comment.moduleGenerate the basic commenting form, for appending to a node or display on a separate page.
comment_form_altermodules/comment/comment.moduleImplementation of hook_form_alter().
comment_linkmodules/comment/comment.moduleImplementation of hook_link().
comment_linksmodules/comment/comment.moduleBuild command links for a comment (e.g.\ edit, reply, delete) with respect to the current user's access permissions.
comment_rendermodules/comment/comment.moduleRenders comment(s).
comment_replymodules/comment/comment.pages.incThis 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_site_pagemodules/contact/contact.pages.incSite-wide contact page.
contact_user_pagemodules/contact/contact.pages.incPersonal contact page.
DISABLED_node_query_altermodules/node/node.moduleImplementation of hook_query_alter(). @todo This doesn't quite work yet.
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.
forum_accessmodules/forum/forum.moduleImplementation of hook_access().
forum_blockmodules/forum/forum.moduleImplementation of hook_block().
hook_accessdeveloper/hooks/node.phpDefine access restrictions.
hook_file_downloaddeveloper/hooks/file.phpControl access to private file downloads and specify HTTP headers.
hook_linkdeveloper/hooks/core.phpDefine internal Drupal links.
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_user_registermodules/locale/locale.moduleImplementation of hook_user_register().
menu_form_altermodules/menu/menu.moduleImplementation of hook_form_alter(). Adds menu item fields to the node form.
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.pages.incGenerate the node add/edit form array.
node_form_altermodules/node/node.moduleImplementation of hook_form_alter().
node_helpmodules/node/node.moduleImplementation of hook_help().
node_revision_overviewmodules/node/node.pages.incGenerate an overview table of older revisions of a node.
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.
path_admin_delete_confirmmodules/path/path.admin.incMenu callback; confirms deleting an URL alias
path_form_altermodules/path/path.moduleImplementation of hook_form_alter().
path_nodeapi_deletemodules/path/path.moduleImplementation of hook_nodeapi_delete().
path_nodeapi_insertmodules/path/path.moduleImplementation of hook_nodeapi_insert().
path_nodeapi_updatemodules/path/path.moduleImplementation of hook_nodeapi_update().
path_nodeapi_validatemodules/path/path.moduleImplementation of hook_nodeapi_validate().
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_insertmodules/poll/poll.moduleImplementation of hook_insert().
poll_loadmodules/poll/poll.moduleImplementation of hook_load().
profile_blockmodules/profile/profile.moduleImplementation of hook_block().
profile_browsemodules/profile/profile.pages.incMenu callback; display a list of user information.
profile_category_accessmodules/profile/profile.moduleMenu item access callback - check if a user has access to a profile category.
search_blockmodules/search/search.moduleImplementation of hook_block().
statistics_blockmodules/statistics/statistics.moduleImplementation of hook_block().
statistics_linkmodules/statistics/statistics.moduleImplementation of hook_link().
statistics_top_visitorsmodules/statistics/statistics.admin.incMenu callback; presents the "top visitors" page.
system_get_module_admin_tasksmodules/system/system.moduleGenerate a list of tasks offered by a specified module.
system_main_admin_pagemodules/system/system.admin.incMenu callback; Provide the administration overview page.
system_requirementsmodules/system/system.installTest and report Drupal installation requirements.
system_theme_select_formmodules/system/system.moduleReturns a fieldset containing the theme select form.
template_preprocessincludes/theme.incAdds a default set of helper variables for preprocess functions and templates. This comes in before any other preprocess function which makes it possible to be used in default theme implementations (non-overriden theme functions).
template_preprocess_aggregator_feed_sourcemodules/aggregator/aggregator.pages.incProcess variables for aggregator-feed-source.tpl.php. See alsoaggregator-feed-source.tpl.php
template_preprocess_poll_resultsmodules/poll/poll.modulePreprocess the poll_results theme hook.
template_preprocess_user_picturemodules/user/user.moduleProcess variables for user-picture.tpl.php.
theme_aggregator_block_itemmodules/aggregator/aggregator.moduleFormat an individual feed item for display in the block.
theme_book_admin_tablemodules/book/book.admin.incTheme function for the book administration page form. See alsobook_admin_table()
theme_get_settingsincludes/theme.incRetrieve an associative array containing the settings for a theme.
theme_usernameincludes/theme.incFormat a username.
translation_form_altermodules/translation/translation.moduleImplementation of hook_form_alter().
translation_nodeapi_preparemodules/translation/translation.moduleImplementation of hook_nodeapi_prepare().
trigger_access_checkmodules/trigger/trigger.moduleAccess callback for menu system.
update_helpmodules/update/update.moduleImplementation of hook_help().
upload_file_downloadmodules/upload/upload.moduleImplementation of hook_file_download().
upload_linkmodules/upload/upload.moduleImplementation of hook_link().
upload_nodeapi_insertmodules/upload/upload.moduleImplementation of hook_nodeapi_insert().
upload_nodeapi_updatemodules/upload/upload.moduleImplementation of hook_nodeapi_update().
upload_nodeapi_viewmodules/upload/upload.moduleImplementation of hook_nodeapi_view().
upload_node_form_submitmodules/upload/upload.moduleSave new uploads and store them in the session to be associated to the node on upload_save.
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_edit_accessmodules/user/user.moduleAccess callback for user account editing.
user_profile_formmodules/user/user.pages.incForm builder; edit a user account or one of their profile categories. See alsouser_profile_form_validate()
user_profile_form_validatemodules/user/user.pages.incValidation function for the user account and profile editing form.
user_registermodules/user/user.moduleForm builder; The user registration form. See alsouser_register_validate()
user_register_submitmodules/user/user.moduleSubmit handler for the user registration form.
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_has_categoriesmodules/aggregator/aggregator.moduleFind out whether there are any aggregator categories.
_aggregator_page_listmodules/aggregator/aggregator.pages.incPrints an aggregator page listing a number of feed items.
_block_themes_accessmodules/block/block.moduleMenu item access callback - only admin or enabled themes can be accessed.
_book_add_form_elementsmodules/book/book.moduleBuild the common elements of the book form for the node and outline forms.
_book_outline_accessmodules/book/book.moduleMenu item access callback - determine if the outline tab is accessible.
_contact_user_tab_accessmodules/contact/contact.moduleDetermine if a user can access to the contact tab.
_menu_check_accessincludes/menu.incCheck access to a menu item using the access callback
_menu_site_is_offlineincludes/menu.incChecks whether the site is offline 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.
_poll_menu_accessmodules/poll/poll.moduleCallback function to see if a node is acceptable for poll menu items.
_system_themes_accessmodules/system/system.moduleMenu item access callback - only admin or enabled themes can be accessed.
_tracker_myrecent_accessmodules/tracker/tracker.moduleAccess callback for tracker/%user_uid_optional
_tracker_user_accessmodules/tracker/tracker.moduleAccess callback for user/%user/track
_translation_tab_accessmodules/translation/translation.moduleMenu access callback.

Functions called by user_access()

Namesort iconLocationDescription
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
user_role_permissionsmodules/user/user.moduleDetermine the permissions for one or more roles.
 
 

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.