You are here

function _og_role_watchdog_node_grants_access in Role Watchdog 6

Same name and namespace in other branches
  1. 6.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_node_grants_access()
  2. 7.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_node_grants_access()
  3. 7 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_node_grants_access()

Access callback for viewing role grants page for one group.

1 string reference to '_og_role_watchdog_node_grants_access'
og_role_watchdog_menu in modules/og_role_watchdog/og_role_watchdog.module
Implement hook_menu

File

modules/og_role_watchdog/og_role_watchdog.module, line 244
Logs changes to user roles.

Code

function _og_role_watchdog_node_grants_access($node) {
  return node_access('view', $node) && user_access('view role history');
}