Search for access

  1. Search 3.x for access
  2. Search 4.0.x for access
  3. Other projects
Title Object type File name Summary
Example: Node Access group node_access_example/node_access_example.module Demonstrates node access.
field_permission_example_field_access function field_permission_example/field_permission_example.module Implements hook_field_access().
menu_example_custom_access function menu_example/menu_example.module Determine whether the current user has the role specified.
NodeAccessExampleTestCase class node_access_example/node_access_example.test Functional tests for the Node Access Example module.
NodeAccessExampleTestCase::checkNodeAccess function node_access_example/node_access_example.test Helper function.
NodeAccessExampleTestCase::checkResponse function node_access_example/node_access_example.test Helper function.
NodeAccessExampleTestCase::checkSearchResults function node_access_example/node_access_example.test Helper function.
NodeAccessExampleTestCase::getInfo function node_access_example/node_access_example.test
NodeAccessExampleTestCase::setUp function node_access_example/node_access_example.test Enable modules and create user with specific permissions.
NodeAccessExampleTestCase::testNodeAccessBasic function node_access_example/node_access_example.test Test the "private" node access.
node_access_example.info file node_access_example/node_access_example.info name = Node access example
description = Demonstrates how a module can use Drupal's node access system
package = Example modules
core = 7.x
files[] = node_access_example.test
node_access_example.install file node_access_example/node_access_example.install Install, update, and uninstall functions for the node_access_example module.
node_access_example.module file node_access_example/node_access_example.module Module file illustrating API-based node access.
node_access_example.test file node_access_example/node_access_example.test Tests for Node Access example module.
node_access_example_form_alter function node_access_example/node_access_example.module Implements hook_form_alter().
NODE_ACCESS_EXAMPLE_GRANT_ALL constant node_access_example/node_access_example.module Here we define a constant for our node access grant ID, for the
node_access_example_view and node_access_example_edit realms. This ID could
be any integer, but here we choose 23, because it is this author's favorite
number.
node_access_example_menu function node_access_example/node_access_example.module Implements hook_menu().
node_access_example_node_access function node_access_example/node_access_example.module Implements hook_node_access().
node_access_example_node_access_records function node_access_example/node_access_example.module Implements hook_node_access_records().
node_access_example_node_delete function node_access_example/node_access_example.module Implements hook_node_delete().
node_access_example_node_grants function node_access_example/node_access_example.module Implements hook_node_grants().
node_access_example_node_insert function node_access_example/node_access_example.module Implements hook_node_insert().
node_access_example_node_load function node_access_example/node_access_example.module Implements hook_node_load().
node_access_example_node_update function node_access_example/node_access_example.module Implements hook_node_update().
node_access_example_permission function node_access_example/node_access_example.module Implements hook_permission().
node_access_example_private_node_listing function node_access_example/node_access_example.module Our hook_menu() page callback function.
node_access_example_schema function node_access_example/node_access_example.install Implements hook_schema().
PageExampleTestCase::pageExampleVerifyNoAccess function page_example/page_example.test Verify that current user has no access to page.
simpletest_example_node_access function simpletest_example/simpletest_example.module Implements hook_node_access().