Skip to content

Commit 02d6fe1

Browse files
pkp/pkp-lib#11826 Add description to 'Limit access to specific roles' locale key
1 parent 9873bc4 commit 02d6fe1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

public/globals.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ window.pkp = {
192192
'Mark as unrestricted',
193193
'admin.workflow.email.userGroup.limitAccess':
194194
'Limit access to specific roles',
195+
'admin.workflow.email.userGroup.limitAccess.template.note':
196+
'Select the roles that can access this template.',
195197
'admin.workflow.email.userGroup.unrestricted.template.note':
196198
'Unrestricted templates will be accessible to all roles.',
197199
'article.article': 'Article',

src/managers/TaskTemplateManager/useTaskTemplateManagerForm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export function useTaskTemplateManagerForm({
226226
addFieldOptions('userGroupIds', 'checkbox', {
227227
groupId: 'details',
228228
label: t('admin.workflow.email.userGroup.limitAccess'),
229+
description: t('admin.workflow.email.userGroup.limitAccess.template.note'),
229230
name: 'userGroupIds',
230231
options: getUserGroupOptions(),
231232
value: taskTemplate?.userGroups?.map(({id}) => id) || [],

0 commit comments

Comments
 (0)