Search for access

  1. Search 9.5.x for access
  2. Search 8.9.x for access
  3. Search 10.3.x for access
  4. Search 11.x for access
  5. Other projects
Title Object type File name Summary
NodeAccessTestCase::assertNodeAccess function modules/node/node.test Asserts node_access() correctly grants or denies access.
NodeAccessTestCase::getInfo function modules/node/node.test
NodeAccessTestCase::setUp function modules/node/node.test
NodeAccessTestCase::testNodeAccess function modules/node/node.test Runs basic tests for node_access function.
NodeEntityFieldQueryAlter::$accessUser property modules/node/node.test User with permission to view content.
NodeEntityFieldQueryAlter::$noAccessUser property modules/node/node.test User without permission to view content.
NodeQueryAlter::$accessUser property modules/node/node.test User with permission to view content.
NodeQueryAlter::$noAccessUser property modules/node/node.test User without permission to view content.
NodeQueryAlter::$noAccessUser2 property modules/node/node.test User without permission to view content.
NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess function modules/node/node.test Tests 'node_access' query alter, for edit access.
NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess function modules/node/node.test Tests 'node_access' query alter, for user without access.
NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess function modules/node/node.test Tests 'node_access' query alter, for user with access.
NodeRevisionPermissionsTestCase::testNodeRevisionAccess function modules/node/node.test Tests the _node_revision_access() function.
node_access function modules/node/node.module Determines whether the current user may perform the operation on the node.
node_access_acquire_grants function modules/node/node.module Gets the list of node access grants and writes them to the database.
NODE_ACCESS_ALLOW constant modules/node/node.module Modules should return this value from hook_node_access() to allow access to a node.
NODE_ACCESS_DENY constant modules/node/node.module Modules should return this value from hook_node_access() to deny access to a node.
node_access_entity_test_page function modules/node/tests/node_access_test.module Page callback for node access entity test page.
node_access_grants function modules/node/node.module Fetches an array of permission IDs granted to the given user ID.
NODE_ACCESS_IGNORE constant modules/node/node.module Modules should return this value from hook_node_access() to not affect node access.
node_access_needs_rebuild function modules/node/node.module Flags or unflags the node access grants for rebuilding.
node_access_rebuild function modules/node/node.module Rebuilds the node access database.
node_access_test.info file modules/node/tests/node_access_test.info name = "Node module access tests"
description = "Support module for node permission testing."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
node_access_test.install file modules/node/tests/node_access_test.install Install, update and uninstall functions for the node_access_test module.
node_access_test.module file modules/node/tests/node_access_test.module A dummy module implementing node access related hooks for testing purposes.
node_access_test_form_node_form_alter function modules/node/tests/node_access_test.module Implements hook_form_BASE_FORM_ID_alter().
node_access_test_menu function modules/node/tests/node_access_test.module Implements hook_menu().
node_access_test_node_access_records function modules/node/tests/node_access_test.module Implements hook_node_access_records().
node_access_test_node_delete function modules/node/tests/node_access_test.module Implements hook_node_delete().
node_access_test_node_grants function modules/node/tests/node_access_test.module Implements hook_node_grants().
node_access_test_node_insert function modules/node/tests/node_access_test.module Implements hook_node_insert().
node_access_test_node_load function modules/node/tests/node_access_test.module Implements hook_node_load().
node_access_test_node_update function modules/node/tests/node_access_test.module Implements hook_node_update().
node_access_test_page function modules/node/tests/node_access_test.module Page callback for node access test page.
node_access_test_permission function modules/node/tests/node_access_test.module Implements hook_permission().
node_access_test_schema function modules/node/tests/node_access_test.install Implements hook_schema().
node_access_view_all_nodes function modules/node/node.module Determines whether the user has a global viewing grant for all nodes.
node_access_write_grants function modules/node/node.module Writes a list of grants to the database, deleting any previously saved ones.
node_file_download_access function modules/node/node.module Implements hook_file_download_access().
node_node_access function modules/node/node.module Implements hook_node_access().
node_query_entity_field_access_alter function modules/node/node.module Implements hook_query_TAG_alter().
node_query_node_access_alter function modules/node/node.module Implements hook_query_TAG_alter().
node_search_access function modules/node/node.module Implements hook_search_access().
node_test_node_access_records function modules/node/tests/node_test.module Implements hook_node_access_records().
node_test_node_access_records_alter function modules/node/tests/node_test.module Implements hook_node_access_records_alter().
PHPAccessTestCase class modules/php/php.test Tests to make sure access to the PHP filter is properly restricted.
PHPAccessTestCase::getInfo function modules/php/php.test
PHPAccessTestCase::testNoPrivileges function modules/php/php.test Makes sure that the user can't use the PHP filter when not given access.
profile_category_access function modules/profile/profile.module Menu item access callback - check if a user has access to a profile category.
SearchCommentTestCase::checkCommentAccess function modules/search/search.test Update search index and search for comment.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.