mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 23:33:43 +00:00
patch to remove match condition of owner on event doctype
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("""\
|
||||
update `tabDocPerm` set match=NULL
|
||||
where parent='Event' and role='All' and permlevel=0""")
|
||||
@@ -487,4 +487,9 @@ patch_list = [
|
||||
'patch_file': 'cms2',
|
||||
'description': 'cms2 release patches'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.july_2012',
|
||||
'patch_file': 'remove_event_role_owner_match',
|
||||
'description': "Remove Owner match from Event DocType's Permissions"
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user