You are here

function opigno_module_update_8013 in Opigno module 8

Update permissions for Global Content Manager.

File

./opigno_module.install, line 921
Opigno module app install/update functionality.

Code

function opigno_module_update_8013() {
  $role = Role::load('content_manager');
  $role
    ->grantPermission('access media_entity_browser_badge_images entity browser pages');
  $role
    ->save();
}