You are here

function panopoly_widgets_update_7008 in Panopoly Widgets 7

Setup the default for 'access media browser' permission.

File

./panopoly_widgets.install, line 271
An installation file for Panopoly Widgets

Code

function panopoly_widgets_update_7008() {
  user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array(
    'access media browser',
  ));
}