diff --git a/smart_service/apis/master_api.py b/smart_service/apis/master_api.py index 7393817..aae600d 100644 --- a/smart_service/apis/master_api.py +++ b/smart_service/apis/master_api.py @@ -1,7 +1,8 @@ # Copyright (c) 2021, Hard n Soft Technologies Pvt Ltd and contributors # For license information, please see license.txt -from frappe.rate_limiter import rate_limit + + import frappe from frappe.model.document import Document import json @@ -11,6 +12,12 @@ from smart_service.apis.app_user_login import input_validation current_db_name = frappe.conf.get("db_name") +@frappe.whitelist(allow_guest=1) +@rate_limit(limit=5, seconds=15, methods=["POST"],ip_based=True) +def masters1(args=None, LSD=None): + return 1 + + @frappe.whitelist() def masters(args=None, LSD=None): val = input_validation(args=args) diff --git a/smart_service/fixtures/custom_docperm.json b/smart_service/fixtures/custom_docperm.json index 09ad5d2..76e9c16 100644 --- a/smart_service/fixtures/custom_docperm.json +++ b/smart_service/fixtures/custom_docperm.json @@ -161,6 +161,60 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 1, + "if_owner": 0, + "import": 1, + "modified": "2022-01-18 10:36:46.676149", + "name": "d2afb66263", + "parent": "Procedure Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 1, + "role": "_Author", + "select": 1, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 1, + "modified": "2022-01-18 10:37:18.491573", + "name": "68670513b5", + "parent": "Procedure Step Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 1, + "role": "_Author", + "select": 1, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, { "amend": 0, "cancel": 0, @@ -178,7 +232,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Author", @@ -259,7 +313,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Publisher", @@ -1339,7 +1393,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Author", @@ -1366,7 +1420,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Reviewer", @@ -1393,7 +1447,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Approver", @@ -1420,7 +1474,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 0, + "print": 1, "read": 1, "report": 1, "role": "_Publisher", @@ -1588,7 +1642,7 @@ "role": "_Publisher", "select": 1, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, "write": 0 }, @@ -1719,13 +1773,13 @@ "permlevel": 0, "print": 1, "read": 1, - "report": 0, + "report": 1, "role": "_Author", "select": 1, "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 }, { "amend": 0, @@ -1752,7 +1806,7 @@ "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 }, { "amend": 0, @@ -1779,7 +1833,34 @@ "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 12:43:39.219800", + "name": "a136fe85a1", + "parent": "App Preference", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "_Publisher", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 1 }, { "amend": 0, @@ -1858,14 +1939,14 @@ "role": "_Publisher", "select": 1, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, "write": 0 }, { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -1892,7 +1973,7 @@ { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -1919,7 +2000,7 @@ { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -1946,7 +2027,7 @@ { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -2159,6 +2240,60 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 15:07:44.126465", + "name": "6de6e4e3c9", + "parent": "Procedure Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "All", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 15:08:09.467118", + "name": "09ea028077", + "parent": "Procedure Step Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "All", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, { "amend": 0, "cancel": 0, @@ -2348,6 +2483,33 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 18:32:42.392406", + "name": "9562ebcea5", + "parent": "App Preference", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_AppUser", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, { "amend": 0, "cancel": 0, @@ -2378,7 +2540,7 @@ { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -2400,7 +2562,7 @@ "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 }, { "amend": 0, @@ -2672,6 +2834,60 @@ "submit": 0, "write": 0 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 18:32:42.392406", + "name": "bcc1cb922a", + "parent": "Procedure Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_AppUser", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 18:32:42.392406", + "name": "8f95988c5e", + "parent": "Procedure Step Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_AppUser", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, { "amend": 0, "cancel": 0, @@ -2697,7 +2913,7 @@ "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 }, { "amend": 0, @@ -3067,7 +3283,7 @@ "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 1, + "print": 0, "read": 1, "report": 0, "role": "_AppUser", @@ -3557,7 +3773,7 @@ "read": 1, "report": 1, "role": "_Publisher", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 0, "submit": 0, @@ -3584,7 +3800,7 @@ "read": 1, "report": 1, "role": "_Publisher", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 0, "submit": 0, @@ -4083,13 +4299,13 @@ "delete": 1, "docstatus": 0, "doctype": "Custom DocPerm", - "email": 0, + "email": 1, "export": 1, "if_owner": 0, - "import": 1, - "modified": "2022-05-16 14:37:12.416501", - "name": "163d1d0d0a", - "parent": "Workflow Action", + "import": 0, + "modified": "2022-05-10 13:07:44.447627", + "name": "6abb48b5ee", + "parent": "Tata Vehicle", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, @@ -4097,7 +4313,34 @@ "read": 1, "report": 1, "role": "System Manager", - "select": 1, + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 1, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 1, + "modified": "2022-05-16 14:37:12.416501", + "name": "163d1d0d0a", + "parent": "Workflow Action", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, "set_user_permissions": 1, "share": 1, "submit": 0, @@ -4107,33 +4350,438 @@ "amend": 0, "cancel": 0, "create": 1, - "delete": 0, + "delete": 1, "docstatus": 0, "doctype": "Custom DocPerm", "email": 1, - "export": 1, + "export": 0, "if_owner": 0, "import": 1, - "modified": "2022-01-18 10:36:46.676149", - "name": "d2afb66263", - "parent": "Procedure Name", + "modified": "2022-05-16 14:37:30.785448", + "name": "decdead5f2", + "parent": "Workflow Action Master", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 0, + "role": "System Manager", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 0, + "if_owner": 0, + "import": 0, + "modified": "2022-05-17 11:58:49.209418", + "name": "6493e1ca13", + "parent": "Workflow State", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 0, + "role": "System Manager", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-02 17:07:24.760705", + "name": "3b44674e09", + "parent": "Refresh Token", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "print": 0, "read": 1, - "report": 1, + "report": 0, + "role": "CMS User", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:45:26.454822", + "name": "db58be92ad", + "parent": "Application Menu", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "CMS User", + "select": 1, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:45:38.992760", + "name": "c2339bd7ee", + "parent": "Application Menu", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Approver", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:45:47.993405", + "name": "6c1c317ede", + "parent": "Application Menu", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, "role": "_Author", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:45:52.915043", + "name": "3d1ca37881", + "parent": "Application Menu", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Publisher", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:45:57.067827", + "name": "1ba41e6b92", + "parent": "Application Menu", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Reviewer", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:48:51.184371", + "name": "71a7e2922a", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "CMS User", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:48:57.449159", + "name": "18f88a26bb", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "CMS Admin", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:49:05.480050", + "name": "805b459e78", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Approver", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:49:09.440423", + "name": "891c8085be", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Author", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:49:13.376550", + "name": "f70f894096", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Publisher", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:49:18.761706", + "name": "81b9911715", + "parent": "Teknet Module", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "_Reviewer", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:52:11.630582", + "name": "1892e55366", + "parent": "Bookmark", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "CMS User", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2023-02-03 16:53:51.230194", + "name": "1509dd4d92", + "parent": "Model Hit", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 1, + "report": 0, + "role": "CMS User", "select": 1, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, "write": 1 }, { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", @@ -4141,102 +4789,102 @@ "export": 1, "if_owner": 0, "import": 0, - "modified": "2022-01-28 18:32:42.392406", - "name": "bcc1cb922a", - "parent": "Procedure Name", + "modified": "2023-02-03 16:54:17.454619", + "name": "b9d3600baf", + "parent": "Model Usage", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "print": 0, "read": 1, "report": 0, - "role": "_AppUser", + "role": "CMS User", "select": 1, "set_user_permissions": 0, "share": 0, "submit": 0, - "write": 0 + "write": 1 }, { "amend": 0, "cancel": 0, "create": 1, - "delete": 1, + "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", - "email": 1, + "email": 0, "export": 1, "if_owner": 0, "import": 0, - "modified": "2022-01-18 10:36:28.747690", - "name": "713e1f31b7", - "parent": "Procedure Name", + "modified": "2023-02-03 16:55:32.757312", + "name": "98446f79e2", + "parent": "Publish", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 1, + "print": 0, "read": 1, - "report": 1, - "role": "System Manager", - "select": 0, + "report": 0, + "role": "CMS User", + "select": 1, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, "write": 1 }, { "amend": 0, "cancel": 0, - "create": 1, - "delete": 1, + "create": 0, + "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", - "email": 1, + "email": 0, "export": 1, "if_owner": 0, - "import": 1, - "modified": "2021-10-30 07:39:36.410880", - "name": "47ab9105a7", - "parent": "File", + "import": 0, + "modified": "2023-02-03 16:57:13.050515", + "name": "015ab188c2", + "parent": "Publish", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 1, + "print": 0, "read": 1, - "report": 1, - "role": "System Manager", + "report": 0, + "role": "CMS Admin", "select": 1, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, "write": 1 }, { "amend": 0, "cancel": 0, - "create": 1, - "delete": 1, + "create": 0, + "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", - "email": 1, - "export": 0, + "email": 0, + "export": 1, "if_owner": 0, "import": 0, - "modified": "2022-05-17 11:58:49.209418", - "name": "6493e1ca13", - "parent": "Workflow State", + "modified": "2023-02-03 16:58:00.875884", + "name": "5b89953e5b", + "parent": "App Device", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, - "print": 1, + "print": 0, "read": 1, "report": 0, - "role": "System Manager", + "role": "CMS User", "select": 0, "set_user_permissions": 0, - "share": 1, + "share": 0, "submit": 0, - "write": 1 + "write": 0 }, { "amend": 0, @@ -4246,20 +4894,20 @@ "docstatus": 0, "doctype": "Custom DocPerm", "email": 1, - "export": 0, + "export": 1, "if_owner": 0, "import": 1, - "modified": "2022-05-16 14:37:30.785448", - "name": "decdead5f2", - "parent": "Workflow Action Master", + "modified": "2021-10-30 07:39:36.410880", + "name": "47ab9105a7", + "parent": "File", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "print": 1, "read": 1, - "report": 0, + "report": 1, "role": "System Manager", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 1, "submit": 0, @@ -4400,6 +5048,33 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 0, + "if_owner": 0, + "import": 0, + "modified": "2021-11-17 18:00:48.986544", + "name": "0d95671a59", + "parent": "Email Template", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 0, + "report": 0, + "role": "All", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 0 + }, { "amend": 0, "cancel": 0, @@ -4431,7 +5106,7 @@ "amend": 0, "cancel": 0, "create": 1, - "delete": 1, + "delete": 0, "docstatus": 0, "doctype": "Custom DocPerm", "email": 1, @@ -4508,6 +5183,33 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 0, + "export": 0, + "if_owner": 0, + "import": 0, + "modified": "2021-11-17 18:01:53.895540", + "name": "c2845cba92", + "parent": "Workflow Action", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 0, + "read": 0, + "report": 0, + "role": "All", + "select": 0, + "set_user_permissions": 0, + "share": 0, + "submit": 0, + "write": 0 + }, { "amend": 0, "cancel": 0, @@ -4553,7 +5255,7 @@ "parenttype": "DocType", "permlevel": 0, "print": 0, - "read": 1, + "read": 0, "report": 0, "role": "All", "select": 0, @@ -4909,7 +5611,7 @@ "role": "System Manager", "select": 1, "set_user_permissions": 0, - "share": 0, + "share": 1, "submit": 0, "write": 1 }, @@ -5024,7 +5726,7 @@ { "amend": 0, "cancel": 0, - "create": 0, + "create": 1, "delete": 1, "docstatus": 0, "doctype": "Custom DocPerm", @@ -5183,6 +5885,60 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-18 10:36:28.747690", + "name": "713e1f31b7", + "parent": "Procedure Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-18 10:37:02.769339", + "name": "20aa798cd5", + "parent": "Procedure Step Name", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, { "amend": 0, "cancel": 0, @@ -5339,7 +6095,34 @@ "read": 1, "report": 1, "role": "System Manager", - "select": 0, + "select": 1, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, + { + "amend": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2022-01-28 12:43:13.286741", + "name": "3862e4ba6e", + "parent": "App Preference", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "select": 1, "set_user_permissions": 0, "share": 1, "submit": 0, @@ -5420,7 +6203,7 @@ "read": 1, "report": 1, "role": "System Manager", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 1, "submit": 0, @@ -5447,7 +6230,7 @@ "read": 1, "report": 1, "role": "System Manager", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 1, "submit": 0, @@ -5464,9 +6247,9 @@ "export": 1, "if_owner": 0, "import": 0, - "modified": "2022-05-10 13:07:44.447627", - "name": "6abb48b5ee", - "parent": "Tata Vehicle", + "modified": "2023-02-02 17:07:24.654352", + "name": "58e57f59c7", + "parent": "Refresh Token", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, @@ -5474,10 +6257,10 @@ "read": 1, "report": 1, "role": "System Manager", - "select": 0, + "select": 1, "set_user_permissions": 0, "share": 1, - "submit": 1, + "submit": 0, "write": 1 }, { @@ -5615,6 +6398,33 @@ "submit": 0, "write": 1 }, + { + "amend": 0, + "cancel": 0, + "create": 0, + "delete": 0, + "docstatus": 0, + "doctype": "Custom DocPerm", + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "modified": "2021-11-17 17:58:59.198933", + "name": "cb10826689", + "parent": "Workspace", + "parentfield": "permissions", + "parenttype": "DocType", + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "All", + "select": 0, + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + }, { "amend": 0, "cancel": 0, @@ -5666,7 +6476,7 @@ "select": 1, "set_user_permissions": 0, "share": 1, - "submit": 1, + "submit": 0, "write": 1 }, {