[fix] added required permissions for fiscal year, brand, company, country, currency, item group, price list, uom and warehouse

This commit is contained in:
Anand Doshi 2013-07-23 12:07:55 +05:30
parent 54c78a9cf5
commit 648a5c7e33
9 changed files with 151 additions and 66 deletions

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-01-22 16:50:25", "creation": "2013-01-22 16:50:25",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:38:22", "modified": "2013-07-23 11:59:11",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -24,19 +24,13 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Fiscal Year", "parent": "Fiscal Year",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1
"report": 1,
"role": "System Manager",
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -76,6 +70,16 @@
"reqd": 0 "reqd": 0
}, },
{ {
"doctype": "DocPerm" "cancel": 1,
"create": 1,
"doctype": "DocPerm",
"report": 1,
"role": "System Manager",
"submit": 0,
"write": 1
},
{
"doctype": "DocPerm",
"role": "All"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-02-22 01:27:54", "creation": "2013-02-22 01:27:54",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:28:33", "modified": "2013-07-23 12:06:41",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -71,5 +71,17 @@
"role": "Material User", "role": "Material User",
"submit": 0, "submit": 0,
"write": 0 "write": 0
},
{
"doctype": "DocPerm",
"role": "Sales User"
},
{
"doctype": "DocPerm",
"role": "Purchase User"
},
{
"doctype": "DocPerm",
"role": "Accounts User"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-04-10 08:35:39", "creation": "2013-04-10 08:35:39",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-10 18:17:55", "modified": "2013-07-23 11:58:36",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -25,20 +25,13 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Company", "parent": "Company",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1
"report": 1,
"role": "System Manager",
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -380,6 +373,17 @@
"read_only": 1 "read_only": 1
}, },
{ {
"doctype": "DocPerm" "amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"report": 1,
"role": "System Manager",
"submit": 0,
"write": 1
},
{
"doctype": "DocPerm",
"role": "All"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-01-19 10:23:30", "creation": "2013-01-19 10:23:30",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:33:19", "modified": "2013-07-23 12:05:08",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -25,7 +25,6 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Country", "parent": "Country",
@ -33,9 +32,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -65,19 +62,35 @@
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales Master Manager" "role": "Sales Master Manager",
"submit": 0,
"write": 1
},
{
"create": 1,
"doctype": "DocPerm",
"role": "Purchase Master Manager",
"submit": 0,
"write": 1
},
{
"create": 1,
"doctype": "DocPerm",
"role": "HR User",
"submit": 0,
"write": 1
},
{
"create": 1,
"doctype": "DocPerm",
"role": "HR Manager",
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Purchase Master Manager" "role": "All"
},
{
"doctype": "DocPerm",
"role": "HR User"
},
{
"doctype": "DocPerm",
"role": "HR Manager"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-01-28 10:06:02", "creation": "2013-01-28 10:06:02",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:33:39", "modified": "2013-07-23 12:05:26",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -25,7 +25,6 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Currency", "parent": "Currency",
@ -33,9 +32,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -92,19 +89,32 @@
}, },
{ {
"cancel": 1, "cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Accounts Manager" "role": "Accounts Manager",
"submit": 0,
"write": 1
}, },
{ {
"amend": 0, "amend": 0,
"cancel": 1, "cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales Master Manager" "role": "Sales Master Manager",
"submit": 0,
"write": 1
}, },
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Purchase Master Manager" "role": "Purchase Master Manager",
"submit": 0,
"write": 1
},
{
"doctype": "DocPerm",
"role": "All"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-03-28 10:35:29", "creation": "2013-03-28 10:35:29",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-22 15:29:54", "modified": "2013-07-23 12:00:14",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -37,8 +37,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -180,6 +179,7 @@
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material Manager", "role": "Material Manager",
"submit": 0,
"write": 0 "write": 0
}, },
{ {
@ -188,6 +188,7 @@
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material User", "role": "Material User",
"submit": 0,
"write": 0 "write": 0
}, },
{ {
@ -195,6 +196,19 @@
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material Master Manager", "role": "Material Master Manager",
"submit": 0,
"write": 1 "write": 1
},
{
"doctype": "DocPerm",
"role": "Sales User"
},
{
"doctype": "DocPerm",
"role": "Purchase User"
},
{
"doctype": "DocPerm",
"role": "Accounts User"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-01-25 11:35:09", "creation": "2013-01-25 11:35:09",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:50:47", "modified": "2013-07-23 12:03:25",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -29,7 +29,6 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Price List", "parent": "Price List",
@ -37,8 +36,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -118,24 +116,32 @@
"options": "<div class=\"well\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n" "options": "<div class=\"well\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n"
}, },
{ {
"cancel": 0, "amend": 0,
"create": 0,
"doctype": "DocPerm",
"role": "Sales Manager",
"write": 0
},
{
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales User", "role": "Sales User",
"submit": 0,
"write": 0 "write": 0
}, },
{
"amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Sales Master Manager",
"submit": 0,
"write": 1
},
{
"doctype": "DocPerm",
"role": "Purchase User"
},
{ {
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales Master Manager", "role": "Purchase Master Manager",
"write": 1 "write": 1
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-01-10 16:34:24", "creation": "2013-01-10 16:34:24",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 15:02:01", "modified": "2013-07-23 12:03:54",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -23,7 +23,6 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "UOM", "parent": "UOM",
@ -31,8 +30,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -64,24 +62,34 @@
"reqd": 1 "reqd": 1
}, },
{ {
"amend": 0,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material Master Manager", "role": "Material Master Manager",
"submit": 0,
"write": 1 "write": 1
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material Manager", "role": "Material Manager",
"submit": 0,
"write": 0 "write": 0
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material User", "role": "Material User",
"submit": 0,
"write": 0 "write": 0
},
{
"doctype": "DocPerm",
"role": "All"
} }
] ]

View File

@ -2,7 +2,7 @@
{ {
"creation": "2013-03-07 18:50:32", "creation": "2013-03-07 18:50:32",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-22 15:20:35", "modified": "2013-07-23 12:01:16",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -24,7 +24,6 @@
"read_only": 0 "read_only": 0
}, },
{ {
"amend": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Warehouse", "parent": "Warehouse",
@ -32,8 +31,7 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1, "report": 1
"submit": 0
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -203,17 +201,33 @@
"permlevel": 2 "permlevel": 2
}, },
{ {
"amend": 0,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material Master Manager", "role": "Material Master Manager",
"submit": 0,
"write": 1 "write": 1
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material User", "role": "Material User",
"submit": 0,
"write": 0 "write": 0
},
{
"doctype": "DocPerm",
"role": "Sales User"
},
{
"doctype": "DocPerm",
"role": "Purchase User"
},
{
"doctype": "DocPerm",
"role": "Accounts User"
} }
] ]