You are here

function data_policy_install in Data Policy 8

Implements hook_install().

File

./data_policy.install, line 19
Install, update and uninstall functions for the data_policy module.

Code

function data_policy_install() {

  // Hide a message about a new version of data policy for the anonymous user.
  user_role_grant_permissions('anonymous', [
    'without consent',
  ]);
  user_role_grant_permissions('sitemanager', [
    'administer data policy entities',
  ]);
}