You can also send email notifications to users when they are given access to an entity. Sharedo fires an UserAbilityChanged event when a user's access is changed and attaches the SendUserAbilityChangedNotification listener to it.
If you want to send an email notification, make the following changes in EventServiceProvider:
You can also modify the email template by publishing the Sharedo mail resources:
After running this command, the mail notification template will be located in the
You can attach your own listeners to the event. For example, if you want to attach a SendSlackNotification listener to the UserAbilityChanged event, execute the following: