Browse Source

dashboard perms updated and filter applied

master
Ubuntu 3 years ago
parent
commit
9ac9706a0c
  1. 793
      smart_service/fixtures/custom_docperm.json
  2. 16
      smart_service/fixtures/dashboard_chart.json
  3. 1026
      smart_service/fixtures/property_setter.json

793
smart_service/fixtures/custom_docperm.json

@ -1602,7 +1602,7 @@
"email": 0,
"export": 1,
"if_owner": 0,
"import": 0,
"import": 1,
"modified": "2022-01-28 12:37:22.377342",
"name": "d46c759c3b",
"parent": "System Mapping",
@ -1629,7 +1629,7 @@
"email": 0,
"export": 1,
"if_owner": 0,
"import": 0,
"import": 1,
"modified": "2022-01-28 12:37:35.185031",
"name": "c557c95ed4",
"parent": "System Mapping",
@ -1725,7 +1725,7 @@
"set_user_permissions": 0,
"share": 0,
"submit": 0,
"write": 1
"write": 0
},
{
"amend": 0,
@ -1752,7 +1752,7 @@
"set_user_permissions": 0,
"share": 0,
"submit": 0,
"write": 1
"write": 0
},
{
"amend": 0,
@ -2979,7 +2979,7 @@
"email": 0,
"export": 1,
"if_owner": 0,
"import": 0,
"import": 1,
"modified": "2022-01-28 18:32:42.392406",
"name": "81c9a369b5",
"parent": "System Mapping",
@ -2988,7 +2988,7 @@
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"report": 1,
"role": "_AppUser",
"select": 1,
"set_user_permissions": 0,
@ -3320,6 +3320,114 @@
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 0,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-02-18 14:50:16.222520",
"name": "84d3e2f217",
"parent": "App Log",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "_Publisher",
"select": 0,
"set_user_permissions": 0,
"share": 1,
"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-02-18 16:01:28.053348",
"name": "b2ba08f136",
"parent": "Feedback",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"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": "2022-02-18 16:02:39.931339",
"name": "2aa683ed0e",
"parent": "Model Hit",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"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": "2022-02-18 16:04:41.615836",
"name": "adf0574dce",
"parent": "Model Usage",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "_Publisher",
"select": 0,
"set_user_permissions": 0,
"share": 0,
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
@ -3374,6 +3482,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-02-21 16:51:07.648291",
"name": "3a5325e267",
"parent": "GSS User Manual",
"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-02-21 16:51:07.749957",
"name": "683d03bdf6",
"parent": "GSS User Manual",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "GSS User Manual Editor",
"select": 0,
"set_user_permissions": 0,
"share": 1,
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
@ -3428,6 +3590,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-03-17 18:53:14.179376",
"name": "538620be4a",
"parent": "Role Profile",
"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": 0,
"delete": 0,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-03-17 18:53:14.136354",
"name": "a7a22e821e",
"parent": "Role Profile",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 1,
"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,
@ -3627,10 +3843,10 @@
"email": 1,
"export": 1,
"if_owner": 0,
"import": 1,
"modified": "2021-10-30 07:39:36.410880",
"name": "47ab9105a7",
"parent": "File",
"import": 0,
"modified": "2022-03-24 15:36:49.777899",
"name": "dd4212fecc",
"parent": "Dashboard",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
@ -3652,12 +3868,12 @@
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 0,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2021-12-29 10:43:42.877402",
"name": "08f7f03c90",
"parent": "Role",
"modified": "2022-03-25 11:24:41.516474",
"name": "8793725430",
"parent": "Feedback",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
@ -3681,18 +3897,18 @@
"email": 1,
"export": 1,
"if_owner": 0,
"import": 1,
"modified": "2021-11-24 09:47:18.426666",
"name": "0d12c095cf",
"parent": "Currency",
"import": 0,
"modified": "2022-03-24 15:36:49.881145",
"name": "83a9a2d1ae",
"parent": "Dashboard",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"select": 0,
"role": "Dashboard Manager",
"select": 1,
"set_user_permissions": 0,
"share": 1,
"submit": 0,
@ -3701,16 +3917,340 @@
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"create": 0,
"delete": 0,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 0,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-01-28 15:30:16.120870",
"name": "8babbae8cf",
"modified": "2022-03-24 15:36:49.866634",
"name": "b5e1ac2b45",
"parent": "Dashboard",
"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": 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-03-29 13:03:37.400667",
"name": "3ed4fb66bf",
"parent": "Workspace",
"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": 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-04-12 14:47:54.805852",
"name": "8080f3f4da",
"parent": "Workspace",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "User_Account_Manager",
"select": 0,
"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": "2022-04-12 14:48:07.980299",
"name": "c62ed8fade",
"parent": "Workspace",
"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": 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-04-12 14:48:16.203652",
"name": "cbd9b31af3",
"parent": "Workspace",
"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": 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-04-12 14:49:01.749639",
"name": "e197db58cd",
"parent": "Workspace",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "_AppUser",
"select": 0,
"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": "2022-04-12 14:49:11.614399",
"name": "6bc358196b",
"parent": "Workspace",
"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": 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-04-12 15:32:30.063783",
"name": "d909809ffd",
"parent": "Workspace",
"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": 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-04-12 15:33:02.022985",
"name": "ce75a9aea2",
"parent": "Workspace",
"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": 1
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 1,
"modified": "2021-10-30 07:39:36.410880",
"name": "47ab9105a7",
"parent": "File",
"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,
"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": "2021-12-29 10:43:42.877402",
"name": "08f7f03c90",
"parent": "Role",
"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": 1,
"modified": "2021-11-24 09:47:18.426666",
"name": "0d12c095cf",
"parent": "Currency",
"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": 0,
"if_owner": 0,
"import": 0,
"modified": "2022-01-28 15:30:16.120870",
"name": "8babbae8cf",
"parent": "Communication",
"parentfield": "permissions",
"parenttype": "DocType",
@ -3755,14 +4295,14 @@
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"import": 1,
"modified": "2021-12-29 09:33:15.284970",
"name": "8a0d9b7ba0",
"parent": "User",
@ -3774,10 +4314,10 @@
"report": 1,
"role": "System Manager",
"select": 0,
"set_user_permissions": 0,
"set_user_permissions": 1,
"share": 1,
"submit": 0,
"write": 0
"write": 1
},
{
"amend": 0,
@ -3887,33 +4427,6 @@
"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-03-17 18:53:14.179376",
"name": "538620be4a",
"parent": "Role Profile",
"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,
@ -3968,33 +4481,6 @@
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-03-24 15:36:49.777899",
"name": "dd4212fecc",
"parent": "Dashboard",
"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,
"write": 1
},
{
"amend": 0,
"cancel": 0,
@ -4087,8 +4573,8 @@
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-03-25 11:24:41.516474",
"name": "8793725430",
"modified": "2022-02-18 16:01:28.030370",
"name": "e408893d02",
"parent": "Feedback",
"parentfield": "permissions",
"parenttype": "DocType",
@ -5021,33 +5507,6 @@
"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-02-21 16:51:07.648291",
"name": "3a5325e267",
"parent": "GSS User Manual",
"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,
@ -5183,60 +5642,6 @@
"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": "2022-03-17 18:53:14.136354",
"name": "a7a22e821e",
"parent": "Role Profile",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 1,
"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-03-24 15:36:49.881145",
"name": "83a9a2d1ae",
"parent": "Dashboard",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Dashboard Manager",
"select": 1,
"set_user_permissions": 0,
"share": 1,
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
@ -5372,33 +5777,6 @@
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-02-21 16:51:07.749957",
"name": "683d03bdf6",
"parent": "GSS User Manual",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "GSS User Manual Editor",
"select": 0,
"set_user_permissions": 0,
"share": 1,
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
@ -5480,33 +5858,6 @@
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"modified": "2022-03-24 15:36:49.866634",
"name": "b5e1ac2b45",
"parent": "Dashboard",
"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": 0
},
{
"amend": 1,
"cancel": 1,

16
smart_service/fixtures/dashboard_chart.json

@ -95,7 +95,7 @@
"heatmap_year": null,
"is_public": 1,
"is_standard": 0,
"last_synced_on": "2022-04-11 20:38:37.718732",
"last_synced_on": "2022-04-13 12:50:14.322244",
"modified": "2022-04-11 18:20:02.591953",
"module": null,
"name": "Publish",
@ -127,15 +127,15 @@
"doctype": "Dashboard Chart",
"document_type": "Procedure",
"dynamic_filters_json": "[]",
"filters_json": "[]",
"filters_json": "[[\"Procedure\",\"workflow_state\",\"=\",null,false]]",
"from_date": null,
"group_by_based_on": "workflow_state",
"group_by_type": "Count",
"heatmap_year": null,
"is_public": 1,
"is_standard": 0,
"last_synced_on": "2022-04-11 20:38:37.668583",
"modified": "2022-03-28 14:46:59.749192",
"last_synced_on": "2022-04-13 12:50:14.308616",
"modified": "2022-04-12 19:59:36.324953",
"module": null,
"name": "Procedure",
"number_of_groups": 0,
@ -166,15 +166,15 @@
"doctype": "Dashboard Chart",
"document_type": "Kilometer Mapping",
"dynamic_filters_json": "[]",
"filters_json": "[]",
"filters_json": "[[\"Kilometer Mapping\",\"workflow_state\",\"=\",null,false]]",
"from_date": null,
"group_by_based_on": "workflow_state",
"group_by_type": "Count",
"heatmap_year": null,
"is_public": 1,
"is_standard": 0,
"last_synced_on": "2022-04-11 20:38:37.621150",
"modified": "2022-04-11 18:22:45.949739",
"last_synced_on": "2022-04-13 12:50:14.179459",
"modified": "2022-04-12 20:00:55.874556",
"module": null,
"name": "KM Mapping",
"number_of_groups": 0,
@ -212,7 +212,7 @@
"heatmap_year": null,
"is_public": 1,
"is_standard": 0,
"last_synced_on": "2022-04-11 20:38:37.778659",
"last_synced_on": "2022-04-13 12:50:14.252963",
"modified": "2022-04-11 18:23:00.494268",
"module": null,
"name": "Publish Status",

1026
smart_service/fixtures/property_setter.json

File diff suppressed because it is too large
Loading…
Cancel
Save