distribute:newsletters
permission and your Event API could have a publish:events
permission. These permissions could then be gathered into a role called Marketing Publisher
and assigned to the VP of Marketing’s assistant.
In addition, Organization-specific roles can be added to Organization members and used to allow access in your application based on the organizations with which an end-user is logging in. This is particularly useful when supporting multi-tenant & SaaS products, where a particular user might have a privileged role in one organization, but not in others.
Organizer
and assign it permissions that allow it to view, create, and edit events. You also create a role of Registrant
and assign it permissions that allow it to view and register for events. Any users with both Organizer
and Registrant
roles will be able to view, create, edit, and register for events.