Skip to content
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 @@ -63,6 +63,7 @@
* Fix permission error for edit custom-fields. Refs UIOR-1513.
* Reflect changes of tenant addresses API. Refs UIOR-1508.
* Add scope to all EditCustomFieldsSettings and ViewCustomFieldsSettings. Refs UIOR-1516.
* Rename permissions to make it easier to differentiate between them. Refs UIOR-1504.

## [8.0.5](https://github.com/folio-org/ui-orders/tree/v8.0.5) (2025-06-30)
[Full Changelog](https://github.com/folio-org/ui-orders/compare/v8.0.4...v8.0.5)
Expand Down
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,21 +264,27 @@
]
},
{
"permissionName": "ui-orders.acq.unit.assignment.assign",
"permissionName": "ui-orders.orders.acquisitions_units.assign.execute",
"displayName": "Orders: Assign acquisition units to new order",
"description": "",
"visible": true,
"replaces": [
"ui-orders.acq.unit.assignment.assign"
],
"subPermissions": [
"orders.acquisitions-units-assignments.assign"
"orders.acquisitions-units-assignments.create.execute"
]
},
{
"permissionName": "ui-orders.acq.unit.assignment.manage",
"permissionName": "ui-orders.orders.acquisitions_units.manage.execute",
"displayName": "Orders: Manage acquisition units",
"description": "",
"visible": true,
"replaces": [
"ui-orders.acq.unit.assignment.manage"
],
"subPermissions": [
"orders.acquisitions-units-assignments.manage"
"orders.acquisitions-units-assignments.manage.execute"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/PurchaseOrder/PODetails/PODetailsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import UserValue from './UserValue';

import css from './PODetailsForm.css';

const CREATE_UNITS_PERM = 'orders.acquisitions-units-assignments.assign';
const MANAGE_UNITS_PERM = 'orders.acquisitions-units-assignments.manage';
const CREATE_UNITS_PERM = 'orders.acquisitions-units-assignments.create.execute';
const MANAGE_UNITS_PERM = 'orders.acquisitions-units-assignments.manage.execute';

class PODetailsForm extends Component {
static propTypes = {
Expand Down
Loading