Skip to content

Commit

Permalink
fix: only allow system manager to create email templates
Browse files Browse the repository at this point in the history
(cherry picked from commit 81066d7)
  • Loading branch information
sagarvora authored and mergify[bot] committed Jan 2, 2023
1 parent 21b84a4 commit f46a649
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 @@ -57,18 +57,16 @@
],
"icon": "fa fa-comment",
"links": [],
"modified": "2022-01-04 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 @@ -85,5 +83,6 @@
],
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

0 comments on commit f46a649

Please sign in to comment.