You are here

function opigno_dashboard_update_8003 in Opigno dashboard 8

Grant 'opigno dashboard layout access' permission.

File

./opigno_dashboard.install, line 92
Install, update and uninstall functions for the alt_aero_log_contacts module.

Code

function opigno_dashboard_update_8003() {
  $roles = Role::loadMultiple();
  foreach ($roles as $role) {
    $role
      ->grantPermission('opigno dashboard layout access');
    $role
      ->save();
  }
}