I am trying to share a record of a custom object using an apex trigger.
When trying to give the access level "All", an exception is thrown :
System.DmlException: Insert failed. First exception on row 0; first error: INVALID_ACCESS_LEVEL.
Question :
- Can we give "delete" access by sharing record using apex ?
- Is there an alternative ?
Thank you.