fix(contract_template): restrict create, write and delete access only to System Manager (backport #53787) (#53789)

Co-authored-by: diptanilsaha <diptanil@frappe.io>
fix(contract_template): restrict `create`, `write` and `delete` access only to `System Manager` (#53787)
This commit is contained in:
mergify[bot]
2026-03-25 15:26:34 +00:00
committed by GitHub
parent b072dd4497
commit 737cb371d7

View File

@@ -56,7 +56,7 @@
} }
], ],
"links": [], "links": [],
"modified": "2024-03-27 13:06:46.495091", "modified": "2026-03-25 19:27:19.162421",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Contract Template", "name": "Contract Template",
@@ -75,44 +75,36 @@
"write": 1 "write": 1
}, },
{ {
"create": 1,
"delete": 1,
"email": 1, "email": 1,
"export": 1, "export": 1,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 1, "report": 1,
"role": "Sales Manager", "role": "Sales Manager",
"share": 1, "share": 1
"write": 1
}, },
{ {
"create": 1,
"delete": 1,
"email": 1, "email": 1,
"export": 1, "export": 1,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 1, "report": 1,
"role": "Purchase Manager", "role": "Purchase Manager",
"share": 1, "share": 1
"write": 1
}, },
{ {
"create": 1,
"delete": 1,
"email": 1, "email": 1,
"export": 1, "export": 1,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 1, "report": 1,
"role": "HR Manager", "role": "HR Manager",
"share": 1, "share": 1
"write": 1
} }
], ],
"row_format": "Dynamic",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",
"states": [], "states": [],
"track_changes": 1 "track_changes": 1
} }