function social_post_update_8601 in Open Social 8.6
Grant permission to administer post entities to CM and SM.
File
- modules/
social_features/ social_post/ social_post.install, line 93 - Install, update and uninstall functions for the social_comment module.
Code
function social_post_update_8601() {
user_role_grant_permissions('contentmanager', [
'administer post entities',
]);
user_role_grant_permissions('sitemanager', [
'administer post entities',
]);
}