You are here

function entity_translation_update_7002 in Entity Translation 7

Grant 'edit original values' and 'edit shared field' permissions to roles which have entity editing permissions.

File

./entity_translation.install, line 320
Installation functions for Entity Translation module.

Code

function entity_translation_update_7002() {

  // Grant the 'edit original values' permission, so we don't break editing on
  // existing sites.
  return _entity_translation_grant_edit_permissions();
}