diff -r 07239de796bb -r e756a8c72c3d cms/drupal/sites/all/modules/vppr/vppr.install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cms/drupal/sites/all/modules/vppr/vppr.install Fri Sep 08 12:04:06 2017 +0200 @@ -0,0 +1,23 @@ + $role_name) { + $perm = isset($perms[$vocab->vid]) && isset($perms[$vocab->vid][$rid]) ? $perms[$vocab->vid][$rid] : 0; + if ($perm) { + user_role_grant_permissions($rid, array('administer ' . $vocab->machine_name . ' vocabulary terms')); + } + } + } + variable_del('vppr_perms'); +}