Skip to content

Implement role check for mailables #10571

Open

Description

As part of the work that needs to be done for #10403, we need to implement role checks for mailables and email templates:

  • Role Designation for Email Templates: Enable editors to assign specific user groups when creating or editing an email template. This feature should be restricted to mailables associated with the submission workflow.

    • This will require UI work on the Edit/Add Template side modal to support selecting user groups. Maybe something like a list of checkboxes or a multi-select dropdown might be enough. @Devika008 Tagging here for your input
  • Role Designation for mailables Allow mailables to be assigned to specific roles, ensuring that templates are accessible only to users with relevant roles.

  • Template-Specific Restrictions: Users should only access templates explicitly assigned to their group within each mailable. For example, if a mailable is accessible to both editors and authors, but a specific template is restricted to editors, then only editors should see that template, and authors should not have access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Enhancement:2:ModerateA new feature or improvement that can be implemented in less than 4 weeks.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions