Przeglądaj źródła

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

version-14
KanchanChauhan 8 lat temu
committed by Rushabh Mehta
rodzic
commit
6e9fb3b04c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/core/doctype/docshare/docshare.py

+ 1
- 1
frappe/core/doctype/docshare/docshare.py Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz