diff --git a/islandora.install b/islandora.install index cfb843ab..4176415b 100644 --- a/islandora.install +++ b/islandora.install @@ -140,10 +140,10 @@ function islandora_update_7001(&$sandbox) { * Match permissions for viewing all objects. */ function islandora_update_7002(&$sandbox) { - $roles = user_roles(FALSE, ISLANDORA_VIEW_OBJECTS); - foreach ($roles as $rid => $role) { - user_role_grant_permissions($rid, array(ISLANDORA_ACCESS_INACTIVE_AND_DELETED_OBJECTS)); - } $t = get_t(); - return $t("Islandora permission updates complete. Please manage permissions to assign the new permission, 'view inactive or deleted objects', to appropriate roles."); + return $t("A new permission 'view inactive or deleted objects' has been added " . + "to the system, and these objects can no longer be viewed by someone without " . + "this permission. If you have users who need to view inactive or deleted " . + "objects please add the new permission to appropriate roles. This is " . + "especially important for sites using the 'Islandora Simple Workflow' module"); }