From 6e9fb3b04c83f23c0ed9ddeeace7cd1c508e4d17 Mon Sep 17 00:00:00 2001 From: KanchanChauhan Date: Tue, 18 Oct 2016 14:16:27 +0530 Subject: [PATCH] DocShare perm fixed, can read if share permissions (#2171) --- frappe/core/doctype/docshare/docshare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/docshare/docshare.py b/frappe/core/doctype/docshare/docshare.py index 40362765a9..28304fb636 100644 --- a/frappe/core/doctype/docshare/docshare.py +++ b/frappe/core/doctype/docshare/docshare.py @@ -19,7 +19,7 @@ class DocShare(Document): self.get_doc().run_method("validate_share", self) def cascade_permissions_downwards(self): - if self.write: + if self.share or self.write: self.read = 1 def get_doc(self):