number format fix, permission fix in listview

This commit is contained in:
Rushabh Mehta 2013-02-13 12:33:02 +05:30
parent 1c9e96f3a1
commit a9545794aa

View File

@ -1,8 +1,8 @@
[ [
{ {
"creation": "2013-02-02 14:40:08", "creation": "2013-02-08 13:17:08",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-08 11:27:22", "modified": "2013-02-13 12:32:27",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -29,9 +29,7 @@
"parent": "Leave Application", "parent": "Leave Application",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"read": 1, "read": 1
"report": 1,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -215,7 +213,18 @@
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "employee", "match": "employee",
"permlevel": 0, "permlevel": 0,
"role": "Employee" "report": 1,
"role": "Employee",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"role": "All",
"submit": 0
}, },
{ {
"amend": 1, "amend": 1,
@ -223,8 +232,10 @@
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0, "permlevel": 0,
"report": 1,
"role": "HR User", "role": "HR User",
"submit": 1 "submit": 1,
"write": 1
}, },
{ {
"amend": 1, "amend": 1,
@ -233,13 +244,10 @@
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "leave_approver:user", "match": "leave_approver:user",
"permlevel": 0, "permlevel": 0,
"report": 1,
"role": "Leave Approver", "role": "Leave Approver",
"submit": 1 "submit": 1,
}, "write": 1
{
"doctype": "DocPerm",
"permlevel": 2,
"role": "HR User"
}, },
{ {
"amend": 0, "amend": 0,
@ -247,7 +255,25 @@
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 2, "permlevel": 2,
"report": 1,
"role": "HR User",
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 2,
"report": 1,
"role": "Leave Approver", "role": "Leave Approver",
"submit": 0 "submit": 0,
"write": 1
},
{
"doctype": "DocPerm",
"permlevel": 2,
"role": "Employee"
} }
] ]