function social_user_update_8810 in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_user/social_user.install \social_user_update_8810()
- 8.8 modules/social_features/social_user/social_user.install \social_user_update_8810()
- 10.3.x modules/social_features/social_user/social_user.install \social_user_update_8810()
- 10.0.x modules/social_features/social_user/social_user.install \social_user_update_8810()
- 10.2.x modules/social_features/social_user/social_user.install \social_user_update_8810()
Update permissions for the sitemanager role.
File
- modules/
social_features/ social_user/ social_user.install, line 203 - Install, update and uninstall functions for the social_user module.
Code
function social_user_update_8810() {
// Grant the sitemanagers new permissions.
user_role_grant_permissions('sitemanager', [
'view blocked user',
]);
}