function opigno_module_update_8003 in Opigno module 8
Give an access to specific Opigno module permissions.
File
- ./
opigno_module.install, line 382 - Opigno module app install/update functionality.
Code
function opigno_module_update_8003() {
// Allow users to use the H5P editor.
$role = Role::load(RoleInterface::AUTHENTICATED_ID);
$role
->grantPermission('access editor');
$role
->save();
}