diff --git a/CHANGELOG.md b/CHANGELOG.md index baf201f05..3514b4f24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ * Show country name in user address instead of country id. Refs UIU-2976. * Add patron notice print jobs to action menu. Refs UIU-3029. * Update sub permissions of permission 'Users: Can view user profiles'. Refs UIU-3038. +* Create new permission 'Users: Can view, edit, and delete profile pictures'. Refs UIU-3025. * UserInformation in UserDetails to display profile picture. Refs UIU-3011. ## [10.0.4](https://github.com/folio-org/ui-users/tree/v10.0.4) (2023-11-10) diff --git a/package.json b/package.json index 8f5777ec0..6567cdc75 100644 --- a/package.json +++ b/package.json @@ -992,6 +992,20 @@ ], "visible": true }, + { + "permissionName": "ui-users.profile-pictures.all", + "displayName": "Users: Can view, edit, and delete profile pictures", + "description": "Also includes basic permissions to edit user profile", + "subPermissions": [ + "ui-users.profile-pictures.view", + "ui-users.edit", + "users.profile-picture.item.post", + "users.profile-picture.item.put", + "users.profile-picture.item.delete" + + ], + "visible": true + }, { "permissionName": "ui-users.settings.general.view", "displayName": "Settings (Users): Can view general entries", diff --git a/translations/ui-users/en.json b/translations/ui-users/en.json index 167c572f1..6a769a152 100644 --- a/translations/ui-users/en.json +++ b/translations/ui-users/en.json @@ -1012,6 +1012,7 @@ "permission.manual_waive": "Fees/Fines: Can waive", "permission.patron_blocks": "Users: Can create, edit and remove patron blocks", "permission.profile-pictures.view": "Users: Can view profile pictures", + "permission.profile-pictures.all": "Users: Can view, edit, and delete profile pictures", "permission.requests.all": "Users: View requests", "permission.reset.password": "Users: Create/reset password", "permission.settings.view": "Settings (Users): View all settings",