-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkp/pkp-lib#10571 limit email template access by user groups #10581
base: main
Are you sure you want to change the base?
pkp/pkp-lib#10571 limit email template access by user groups #10581
Conversation
0352bec
to
ba47e2b
Compare
3cb222d
to
cf0580b
Compare
8b6f076
to
75b9ed1
Compare
75b9ed1
to
405e376
Compare
controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php
Outdated
Show resolved
Hide resolved
* | ||
*/ | ||
public function installEmailTemplates( | ||
string $templatesFile, | ||
array $locales = [], | ||
?string $emailKey = null, | ||
bool $skipExisting = false | ||
bool $skipExisting = false, | ||
$recordTemplateGroupAccess = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mention this directly below, but I don't think this optional parameter will be necessary. I think the assumption of "unrestricted if no additional data provided" below is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For posterity, we talked about it and decided to keep thing $recordTemplateGroupAccess
parameter as described here to avoid any issues as part of the upgrade process.
classes/migration/upgrade/V3_6_0/I10403_EmailTemplateUserGroupAccess.php
Show resolved
Hide resolved
efecaab
to
a5f43dc
Compare
…il templates within a mailable
a5f43dc
to
d2e9586
Compare
For #10571