Skip to content

Commit

Permalink
fix: only allow system manager to create/edit email templates by defa…
Browse files Browse the repository at this point in the history
…ult (backport #19458)
  • Loading branch information
mergify[bot] committed Jan 2, 2023
1 parent 4b1ad20 commit 4dedbd8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frappe/email/doctype/email_template/email_template.json
Expand Up @@ -66,18 +66,16 @@
],
"icon": "fa fa-comment",
"links": [],
"modified": "2020-11-30 14:12:50.321633",
"modified": "2023-01-02 03:56:48.437280",
"modified_by": "Administrator",
"module": "Email",
"name": "Email Template",
"naming_rule": "Set by user",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"read": 1,
"role": "All",
"share": 1,
"write": 1
"role": "All"
},
{
"create": 1,
Expand All @@ -94,5 +92,6 @@
],
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

0 comments on commit 4dedbd8

Please sign in to comment.