Skip to:
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:
create an invoice and charge a medication
remove the Patient Medication Save authority from the Base Role
log in as a user with non-admin role
edit the invoice and change the medication
click OK
Rather than showing a generic error message, indicate which authority the user is missing.
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:
create an invoice and charge a medication
remove the Patient Medication Save authority from the Base Role
log in as a user with non-admin role
edit the invoice and change the medication
click OK
Rather than showing a generic error message, indicate which authority the user is missing.