removed unwanted permission

This commit is contained in:
Nabin Hait 2013-01-23 16:10:15 +05:30
parent 291e8c2545
commit 7c833af873

View File

@ -11,4 +11,3 @@ def execute():
if doctype.doclist.get({"doctype":"DocPerm", "permlevel":pl}): if doctype.doclist.get({"doctype":"DocPerm", "permlevel":pl}):
webnotes.conn.sql("""delete from `tabDocPerm` webnotes.conn.sql("""delete from `tabDocPerm`
where parent = %s and permlevel = %s""", (dt[0], pl)) where parent = %s and permlevel = %s""", (dt[0], pl))
print doctype.doc.name