You are here

function bootstrap_site_alert_update_7101 in Bootstrap Site Alert 7

Add in Default Permissions for Viewing the Site Alert.

File

./bootstrap_site_alert.install, line 32
The bootstrap_site_alert install file.

Code

function bootstrap_site_alert_update_7101() {
  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array(
    'view bootstrap site alerts',
  ));
  user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array(
    'view bootstrap site alerts',
  ));
}