Permissions
Dryad Receipting controls who can do what with permission sets that are installed with the package.
This article explains what each permission set allows, which actions check for them, how receipt visibility works, and which combination to give each person.
Permission Sets at a Glance
| Permission set | Give it to |
|---|---|
| Receipt Admin | The people who run receipting and manage its setup: settings, field mappings, templates, scheduled jobs. Usually one or two people, often the Salesforce administrator. |
| Receipt User | Staff who create, email, print and void receipts day to day, and run Batch Receipts. |
| Receipt Editor | People who only design receipt templates. |
| Receipt User View All | Receipt Users who need to see receipts created by other people, without changing them. Add it on top of Receipt User or Receipt User Lite. |
| Receipt User Lite | Integration users and Salesforce Site guest users that create receipts and PDFs through the API, Apex or a flow. Users who sign in with it can only view receipts. |
| Email Guest User | Only if you use Dryad Mailer: the guest user of the Salesforce Site that receives email delivery events from Amazon. |
Don't combine Receipt Admin, Receipt User, Receipt Editor or Receipt User Lite. For example, Receipt Admin already includes everything Receipt User allows.
The only exception is Receipt User View All, which you add on top of Receipt User or Receipt User Lite.
What Each Permission Set Grants
Receipt Admin
- The Receipt Admin custom permission, which opens the Settings page and admin-only actions (see Custom Permissions below).
- The Dryad Receipting app and its tabs, including Settings (Receipt Settings) and Receipt Field Mappings.
- Full control of Receipt Templates, Field Mappings and Batch Receipt Logs.
- Edit any editable field on any receipt, and delete any receipt, whoever owns it. Formula fields stay read-only.
- The template editor and image picker.
- These system permissions: Customize Application, View Setup and Configuration, Manage Custom Permissions, Manage Translation, Salesforce CRM Content Administrator, View All Custom Settings, View Roles, Send Email and Edit Tasks.
Receipt User
- The Receipt User custom permission, which allows all day-to-day receipting actions.
- The Dryad Receipting app with the Receipts, Batch Receipts, Batch Receipt Logs, Emails and Receipt Templates tabs. There is no Settings tab.
- Create and edit receipts, receipt items, batch logs and Dryad Mailer emails; read field mappings.
- Create, edit and delete Receipt Templates, and use the template editor.
- Send Email, Edit Tasks and View All Custom Settings.
Receipt Editor
- Create, edit and delete Receipt Templates, and use the template editor and image picker.
- Read receipts (only those they can see; see Record Visibility below).
- The Run Flow system permission. It has no other system permissions.
- No custom permission, so it can't create, email or void receipts.
Receipt User View All
Overrides the private sharing of receipts. It lets the user view every receipt in the org, whoever created it, with its receipt items and installments, and view every Batch Receipt Log.
It doesn't include the app, tabs or actions, so assign it together with Receipt User or Receipt User Lite.
Assign it only if the sharing model for Receipts is Private and certain users need to see all receipts.
Receipt User Lite
Minimal access for integration users and guest users that create receipts and PDFs through the API, Apex or a flow: create and read receipts, receipt items, batch logs and batch log segments, read templates and field mappings, and read the fields that receipts copy from gifts, including GAUs with Amounts.
It gives no Edit, Delete, View All or Modify All on any object, and no access to Opportunities or Contacts. It is intended for users whose access to gifts is set up separately.
Give it to users who only view receipts, or to the guest user of a Salesforce Site. Staff who create, email or print receipts in the Salesforce screens need Receipt User.
Read-Only in the Salesforce Screens
It doesn't include the Receipt User custom permission, so a user who signs in with it sees the message "You don't have permission to perform this action." when clicking a receipting button such as Create Receipt.
They can open the receipts they own. Add Receipt User View All to let them see every receipt.
Can Be Assigned to a Site Guest User
Salesforce doesn't allow a guest user's permission sets to grant Edit, Delete, View All or Modify All, and Receipt User Lite grants none of them.
Users with Receipt User Lite still get receipts, PDFs and Batch Receipt Logs created in full, because Dryad Receipting updates its own records (status, progress, PDF Created) during background processing, even after a guest's records are reassigned to the site's default owner.
They can't edit Batch Receipt Logs or use the Abort Job, Print, Download Receipt or Set as Emailed actions, which need Edit access.
Can't Email Receipts
Emailing needs Edit access, and it doesn't include the Send Email permission. This applies to every way of emailing, through Salesforce or Dryad Mailer, including a flow of your own that runs as the user.
Have a Receipt User, Receipt Admin or the scheduled job email the receipts they create.
Email Guest User
Lets the Salesforce Site's guest user record email events (delivered, opened, bounced) sent back by Amazon for Dryad Mailer. It is assigned as part of the Dryad Mailer setup. Don't assign it to anyone else.
Object Access Compared
"Full" means Read, Create, Edit and Delete. "View All" means the user can see every record, not only their own. "Modify All" adds editing and deleting every record. A blank cell means no access from that permission set.
| Object | Receipt Admin | Receipt User | Receipt Editor | Receipt User Lite | Receipt User View All |
|---|---|---|---|---|---|
| Receipt | Read, Create, Edit, Delete, View All, Modify All | Read, Create, Edit | Read | Read, Create | Read, View All |
| Receipt Item | Read, Create, Edit, View All | Read, Create, Edit | Read | Read, Create | From its receipt |
| Receipt Installment | Read, Create, View All | Read, Create, View All | Read, View All | Read, Create | From its receipt |
| Receipt Template | Full, View All, Modify All | Read, Create, Edit, Delete, View All | Read, Create, Edit, Delete, View All | Read | |
| Receipt Field Mapping | Full, View All, Modify All | Read | Read | ||
| Batch Receipt Log | Full, View All, Modify All | Read, Create, Edit | Read, Create | Read, View All | |
| Batch Receipt Log Segment | Full, View All, Modify All | Read, Create, Edit | Read, Create | ||
| Email, Email Recipient (Dryad Mailer) | Read, Create, Edit | Read, Create, Edit | |||
| Recurring Donation, Opportunity, Contact | Read | Read | Read (Opportunity only) | ||
| GAU, GAU Allocation | Read | Read | Read |
Receipt Settings are not a record you can grant access to. They are managed on the Settings page, which requires the Receipt Admin custom permission.
Custom Permissions
Dryad Receipting's actions and flows check for two custom permissions, which come with the permission sets above:
| Custom permission | Included in | Allows |
|---|---|---|
| Receipt User | Receipt User |
|
| Receipt Admin | Receipt Admin |
|
Users without either custom permission see the message "You don't have permission to perform this action." when they open a receipting action.
Email Receipt, Email Receipts, Set as Emailed, Download Receipt, Print and Abort Job also need Edit access to receipts or Batch Receipt Logs. Receipt User Lite has neither the Receipt User custom permission nor Edit access, so its users can't run them.
The same applies to emailing in Batch Receipts and to emailing a voided receipt. Validate Email also needs access to the connection to Amazon, which Receipt User Lite doesn't include.
Record Visibility
Receipts are private: by default, users see only the receipts they own (usually the ones they created) and those owned by people below them in the role hierarchy.
Receipt Items and Installments follow their receipt. Batch Receipt Logs and Dryad Mailer Email records are private in the same way.
- Receipt Admins can see, edit and delete all receipts, whoever owns them. Deleting an issued receipt is permanent, so void it instead unless it was created by mistake. When an action they run needs to update receipts, for example marking a replaced receipt, it does so regardless of who owns them.
- Receipt Users can only change receipts they can see. In a team where several people process receipts, someone may get an "Insufficient privileges" error when voiding, replacing or emailing a receipt created by a colleague.
To let a team work on each other's receipts (void, replace, email, print), give them Read/Write access through sharing:
- add a sharing rule on Receipt (Setup > Sharing Settings) that shares receipts with a public group or role, with Read/Write access, or
- set the org-wide default for Receipt to Public Read/Write, if everyone may see and work on every receipt.
Neither lets users delete receipts they don't own. Only Receipt Admins can.
If everyone in your organization needs to see all receipts, consider changing the org-wide sharing setting for Receipt to Public Read/Write.
To let some users only see every receipt, assign Receipt User View All. It gives read access only.
What the Permission Sets Don't Cover
- NPSP records. The permission sets give read access to Recurring Donations, Opportunities and Contacts so receipting can work. Creating or editing gifts, Accounts, Contacts, Recurring Donations and Payments comes from the user's profile or NPSP permission sets, as usual.
- Donor preferences. Changing a donor's Receipt Delivery, Occurrence, Language or Do Not Receipt needs edit access to Contacts and Accounts, from the user's profile.
- Your own custom fields. Fields you add (for example to show on receipts) aren't included in the package's permission sets, and packaged permission sets can't be edited. Grant access through a profile or a permission set of your own.
Typical Assignments
| Role | Assign |
|---|---|
| Receipting manager or Salesforce administrator | Receipt Admin |
| Staff member working on their own receipts | Receipt User |
| Staff member in a team that shares the work | Receipt User, plus a Read/Write sharing rule on Receipt |
| Staff member who needs to see everyone's receipts without changing them | Receipt User, plus Receipt User View All |
| Communications or design person who maintains templates | Receipt Editor |
| Integration or guest user that creates receipts through the API, Apex or a flow | Receipt User Lite, plus the object access their site needs |
| Signed-in user who only views receipts | Receipt User Lite, plus Receipt User View All to see every receipt |
| Dryad Mailer site guest user | Email Guest User |
Assigning a Permission Set
- Go to Setup > Users > Permission Sets and click the permission set.
- Click Manage Assignments, then Add Assignment.
- Select the users and click Assign.
Users may need to log out and back in, or refresh, before new tabs and actions appear.
Troubleshooting
| Symptom | Check |
|---|---|
| "You don't have permission to perform this action." | The user has neither Receipt User nor Receipt Admin. Assign Receipt User (or Receipt Admin). |
| The user can't see the Settings tab or page | Settings need Receipt Admin. |
| "Insufficient privileges" when voiding, replacing or emailing a receipt | The receipt belongs to someone else and isn't shared with the user with Read/Write access. Receipt User View All only gives read access. Add a Read/Write sharing rule, or have a Receipt Admin run the action. |
| Salesforce won't assign Receipt User Lite to a site's guest user | Upgrade Dryad Receipting to the latest version. |
| A Receipt User Lite user gets "You don't have permission to perform this action." on a receipting button, or "Insufficient privileges" on Email Receipt, Email Receipts, Abort Job, Print, Download Receipt or Set as Emailed | Expected: Receipt User Lite is for receipting through the API, Apex or a flow, and doesn't allow these actions in the screens. Have a Receipt User or Receipt Admin run them. |
| A Receipt User Lite user can't open a receipt, or "We couldn't find the record" appears | The receipt belongs to someone else. Assign Receipt User View All as well. |
| A receipt created by an integration or guest user fails with "You don't have access to fields used in the receipt field mapping" | A field in your receipt field mapping isn't available to the user, usually one of your own custom fields. Grant access through a permission set of your own, or remove the field from the mapping. |
| A user can't find receipts created by colleagues | Receipts are private. See Record Visibility above. |
| A custom field is blank on receipts, or missing from the template editor | The user lacks field access to it. Grant it through a profile or your own permission set. |