Module ImportFrom alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Str Return Dict Str Str ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad BoolOpOr BoolOpAnd NameLoad BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str BoolOpOr BoolOpAnd NameLoad BinOpAdd BoolOpOr BoolOpAnd NameLoad Str Str BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Assign NameStore Dict For NameStore NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call NameLoad NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Num NameLoad Str Str NameLoad NameLoad Num attr Expr Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body ImportFrom alias Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Assign NameStore Call NameLoad NameLoad Str NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr
N/A __future__ unicode_literals N/A frappe N/A frappe.defaults frappe.modules.import_file get_file_path read_doc_from_file frappe.translate send_translations frappe.desk.notifications delete_notification_count_for frappe.permissions reset_perms get_linked_doctypes get_roles_and_doctypes N/A N/A N/A N/A N/A N/A N/A frappe only_for System Manager N/A N/A send_translations N/A N/A frappe get_lang_dict doctype DocPerm N/A N/A doctypes roles N/A N/A d N/A 0 N/A d N/A N/A N/A frappe db sql select name from `tabDocType` dt where
			istable=0 and
			name not in ('DocType') and
			exists(select * from `tabDocField` where parent=dt.name) N/A N/A d N/A 0 N/A d N/A N/A N/A frappe db sql select name from tabRole where name not in
			('Administrator') N/A N/A N/A frappe whitelist get_permissions N/A N/A doctype role N/A None None N/A N/A N/A N/A frappe only_for System Manager N/A out N/A N/A N/A frappe db sql N/A select * from tabDocPerm
		where %s%s order by parent, permlevel, role N/A N/A N/A doctype N/A  parent='%s' N/A N/A N/A frappe db escape doctype N/A N/A role N/A N/A N/A doctype  and  N/A  role='%s' N/A N/A N/A frappe db escape role as_dict True N/A linked_doctypes N/A N/A d out N/A N/A N/A d linked_doctypes N/A N/A linked_doctypes setdefault N/A d parent N/A get_linked_doctypes N/A d parent N/A out N/A N/A N/A frappe whitelist remove N/A N/A doctype name N/A N/A N/A N/A N/A frappe only_for System Manager N/A N/A N/A N/A frappe db sql delete from tabDocPerm where name=%s name N/A N/A validate_and_reset doctype for_remove True N/A N/A N/A frappe whitelist add N/A N/A parent role permlevel N/A N/A N/A N/A N/A frappe only_for System Manager N/A N/A N/A N/A N/A frappe get_doc N/A doctype __islocal parent parenttype parentfield role permlevel read DocPerm 1 parent DocType permissions role permlevel 1 save N/A N/A validate_and_reset parent N/A N/A N/A frappe whitelist update N/A N/A name doctype ptype value N/A None N/A N/A N/A N/A frappe only_for System Manager N/A N/A N/A N/A frappe db sql N/A update tabDocPerm set `%s`=%s where name=%s N/A N/A N/A N/A frappe db escape ptype %s %s N/A value name N/A N/A validate_and_reset doctype N/A N/A N/A frappe whitelist validate_and_reset N/A N/A doctype for_remove N/A False N/A frappe.core.doctype.doctype.doctype validate_permissions_for_doctype N/A N/A validate_permissions_for_doctype doctype for_remove N/A N/A clear_doctype_cache doctype N/A reset N/A N/A doctype N/A N/A N/A N/A N/A frappe only_for System Manager N/A N/A reset_perms doctype N/A N/A clear_doctype_cache doctype N/A N/A N/A frappe whitelist clear_doctype_cache N/A N/A doctype N/A N/A N/A N/A N/A frappe clear_cache doctype doctype N/A N/A delete_notification_count_for doctype N/A user N/A N/A N/A frappe db sql_list select distinct tabUserRole.parent from tabUserRole, tabDocPerm
		where tabDocPerm.parent = %s
		and tabDocPerm.role = tabUserRole.role doctype N/A N/A N/A N/A frappe clear_cache user user N/A get_users_with_role N/A N/A role N/A N/A N/A N/A N/A frappe only_for System Manager N/A N/A N/A p N/A 0 N/A p N/A N/A N/A frappe db sql select distinct tabUser.name
		from tabUserRole, tabUser where
			tabUserRole.role=%s
			and tabUser.name != "Administrator"
			and tabUserRole.parent = tabUser.name
			and tabUser.enabled=1 role N/A N/A N/A frappe whitelist get_standard_permissions N/A N/A doctype N/A N/A N/A N/A N/A frappe only_for System Manager N/A module N/A N/A N/A frappe db get_value DocType doctype module N/A path N/A get_file_path module DocType doctype N/A N/A N/A N/A read_doc_from_file path get permissions N/A N/A N/A frappe whitelist