You are here

function social_gdpr_update_8901 in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.2.x modules/custom/social_gdpr/social_gdpr.install \social_gdpr_update_8901()

Update data policy permissions with new administer entities permission.

File

modules/custom/social_gdpr/social_gdpr.install, line 83
Install, update and uninstall functions for the social_gdpr module.

Code

function social_gdpr_update_8901() {
  user_role_grant_permissions('sitemanager', [
    'administer data policy entities',
  ]);
}