clear item cache on update of certain docs
diff --git a/erpnext/setup/doctype/permission_control/permission_control.py b/erpnext/setup/doctype/permission_control/permission_control.py
index 049a3f5..e21ac84 100644
--- a/erpnext/setup/doctype/permission_control/permission_control.py
+++ b/erpnext/setup/doctype/permission_control/permission_control.py
@@ -180,6 +180,11 @@
sql("delete from tabDocPerm where parent = %s and role = %s and ifnull(permlevel,0) = %s",(parent, role, cint(permlevel)))
sql("update tabDocType set modified = %s where name = %s",(now(), parent))
+
+
+ from webnotes.utils.cache import CacheItem
+ CacheItem(parent).clear()
+
msgprint("Permissions Updated")
# Get Fields based on DocType and Permlevel