Archetype authority errors hidden during editing

Description

If a user edits an object where they don’t have authority to save a sub-object, an error will be displayed when they go to save e.g::

The underlying cause is an ArchetypeAccessDeniedException e.g.:

To reproduce:

  1. create an invoice and charge a medication

  2. remove the Patient Medication Save authority from the Base Role

  3. log in as a user with non-admin role

  4. edit the invoice and change the medication

  5. click OK

Rather than showing a generic error message, indicate which authority the user is missing.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created October 10, 2024 at 5:30 AM
Updated October 10, 2024 at 7:15 AM
Resolved October 10, 2024 at 7:15 AM
Who's Looking?