Browse Source

DocShare perm fixed, can read if share permissions (#2171)

version-14
KanchanChauhan 8 years ago
committed by Rushabh Mehta
parent
commit
6e9fb3b04c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/core/doctype/docshare/docshare.py

+ 1
- 1
frappe/core/doctype/docshare/docshare.py View File

@@ -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):


Loading…
Cancel
Save