Skip to content

Commit

Permalink
UIU-3025 - Create new permission 'Users: Can view, edit, and delete p…
Browse files Browse the repository at this point in the history
…rofile pictures' (#2619)

* UIU-3025 - Create new permission 'Users: Can view, edit, and delete profile pictures'

* UIU-3025 - fix review comment

* UIU-3025 - rename permission translations too
  • Loading branch information
Terala-Priyanka authored Jan 30, 2024
1 parent 9bf8232 commit 049764c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [10.0.4](https://github.com/folio-org/ui-users/tree/v10.0.4) (2023-11-10)
[Full Changelog](https://github.com/folio-org/ui-users/compare/v10.0.3...v10.0.4)
Expand Down
16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@
"visible": true
},
{
"permissionName": "ui-users.profilepictures.view",
"permissionName": "ui-users.profile-pictures.view",
"displayName": "Users: Can view profile pictures",
"description": "Also includes basic permissions to view users",
"subPermissions": [
Expand All @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion translations/ui-users/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,8 @@
"permission.manual_pay": "Fees/Fines: Can pay",
"permission.manual_waive": "Fees/Fines: Can waive",
"permission.patron_blocks": "Users: Can create, edit and remove patron blocks",
"permission.profilepictures.view": "Users: Can view profile pictures",
"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",
Expand Down

0 comments on commit 049764c

Please sign in to comment.