Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading