Merge pull request #1479 from rmehta/error-snapshot-perms

[fix] [minor] Error Snapshot only for Administrator
This commit is contained in:
Nabin Hait 2015-12-28 12:45:57 +05:30
commit 2c19a26f6c
2 changed files with 2 additions and 21 deletions

View file

@ -308,7 +308,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2015-12-21 06:38:26.564441",
"modified": "2015-12-28 00:44:30.751680",
"modified_by": "Administrator",
"module": "Core",
"name": "Error Snapshot",
@ -334,26 +334,6 @@
"share": 1,
"submit": 0,
"write": 1
},
{
"amend": 0,
"apply_user_permissions": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"if_owner": 0,
"import": 0,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"set_user_permissions": 0,
"share": 1,
"submit": 0,
"write": 1
}
],
"read_only": 0,

View file

@ -110,3 +110,4 @@ frappe.patches.v6_11.rename_field_in_email_account
execute:frappe.create_folder(os.path.join(frappe.local.site_path, 'private', 'files'))
frappe.patches.v6_15.remove_property_setter_for_previous_field
frappe.patches.v6_15.set_username
execute:frappe.permissions.reset_perms("Error Snapshot")