Skip to main content

KI-104

Created date07/19/2023Updated date07/19/2023
StatusBacklogRelated work itemMIC-3204
DescriptionUser receives an error INSUFFICIENT_ACCESS_OR_READONLY, Invalid Sharing Type I when using the Add Interaction Related Items button on an Adverse Event. This happens when the running user has only "Read" and not "Edit" access to one of the files they are attempting to add. When linking a file to a record, there are sharing options. One is "inherited", whereby a user can edit the record they are linking the file to and as a result, gain "Edit" access to the file as well. This elevates the users' permissions from "Read" to "Edit" which is not allowed. However, a trigger is attempting to set inherited sharing for the file relationship to the new record. This issue most commonly happens with email attachments.
Affects version(s)V12, V13Impacted capabilitiesInquiry Management
Steps to reproduceAs a non-admin: 1. Send an email with an attachment to a Case. 2. Create an Adverse Event. 3. Click Add Interaction Related Items. 4. Select the email attachment from the list of available attachments. 5. Click Save. Non-admins will receive an "insufficient access" error.
Workaround1. Have an admin click the button to copy the files.. 2. Manually download the attachment from the Case and re-upload to the Adverse Event.
Fix versionResolution notes