Non-existant permission referenced in ui-serials-management leading to no permission to delete a predicted piece set

Description

To delete a predicted piece the backend permission serials-management.predictedPieceSets.item.delete is required. The package.json in ui-serials-management specifies serials-management.predictedPieceSets.delete which does not exist. This means it is impossible to be assigned the appropriate permission to delete predicted piece sets via the UI

Fix:

Update

To specify serials-management.predictedPieceSets.item.delete instead

To recreate:

Preconditions:

  1. User is logged in with the following permissions: 

    'Serials: Create predicted pieces',

    'Serials: Delete predicted pieces',

    'Serials: Edit serials',

    'Serials: Edit publication patterns'.

  2. Existing serial record with no publication pattern.

Steps to Reproduce:

  1. Navigate to Serial app.

  2. Open the serial record from the pre-conditions.

  3. Click "Add publication pattern".

  4. Add a monthly publication pattern as follows:

    • Cycle length / Time unit = Month

    • Cycle length / Number of months = 1

    • No. of issues published per cycle = 1

    • Days of publication, per cycle / Day format = Day (1-31)

    • Issue 1 / Day = 1
      Use the Add label button to add a label with

    • Label style = Chronology

    • Chronology format = Chronology Month

    • Month format = October

    • Year format = 23
      Use the Add label button to add a label with

    • Label style = Enumeration

    • Enumeration format = Enumeration Numeric
      Level 1 (e.g. volume)

    • No. of units = 1

    • Format = Number

    • Sequence = Continuous
      Level 2 (e.g. issue number)

    • No. of units = 12

    • Format = Number

    • Sequence = Reset
      Complete the template with the  text:

    • Vol. {{enumeration1.level1}} Issue {{enumeration1.level2}}, {{chronology1.month}} {{chronology1.year}}

  5. Save and close the publication.

  6. Select Actions menu from the top right of the view serials pane.

  7. Select "Generate predicted pieces".

  8. Enter start date of 2024-01-01, a note with some text, Label 2: Level 1 = 5, Label 2: Level 2 = 1 and click "Preview".

  9. Click "Generate".

  10. View the predicted piece set in the view pane.

  11. Click the "Actions" button in the predicted piece set view pane.

  12. Choose "Delete predicted piece set" from the actions menu.

  13. Select "Delete".

Actual Results: The user can not delete a predicted piece set.

Expected Results: Predicted piece set is deleted and Serial record view does not show a 'predicted piece set' accordion.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Bienenvolk

Fix versions

Release

Ramsons (R2 2024) Bug Fix

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 13, 2024 at 7:48 PM
Updated December 4, 2024 at 3:28 PM
Resolved December 3, 2024 at 11:29 AM
TestRail: Cases
TestRail: Runs