Updated Code Security Guidelines (markdown)

Faris Ansari
2021-03-19 13:23:29 +05:30
parent 9a8a8e166a
commit 2d08bbe844

@@ -53,6 +53,7 @@ This looks like a simple helper at first, but it allows a user to create **any**
You can use a combination of `frappe.only_for` method to restrict the method to System Managers and some manual checks. For e.g.,
```
@frappe.whitelist()
def create_document(values):
frappe.only_for('System User')