You are here

public static function BookAccess::defaultGrants in Book access 7.2

Returns the default access permissions.

3 calls to BookAccess::defaultGrants()
BookAccess::setDefaultForRole in ./book_access.module
book_access_node_insert in ./book_access.module
Implements hook_node_insert().
book_access_node_update in ./book_access.module
Implements hook_node_update().

File

./book_access.module, line 579
Allows to set the access control for book nodes on a per book basis. Based on forum_access.module and tac_lite.module.

Class

BookAccess
@file

Code

public static function defaultGrants() {
  return array(
    'grant_view',
  );
}