2013-11-20 12:59:58 +05:30
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 14:59:54 +05:30
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2012-11-12 12:53:44 +05:30
|
|
|
import webnotes
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
webnotes.conn.sql("""update tabDocPerm set `write`=1 where
|
|
|
|
parent='Report'
|
|
|
|
and role in ('Administrator', 'Report Manager', 'System Manager')""")
|