Преглед изворни кода

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

version-14
KanchanChauhan пре 8 година
committed by Rushabh Mehta
родитељ
комит
6e9fb3b04c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      frappe/core/doctype/docshare/docshare.py

+ 1
- 1
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):


Loading…
Откажи
Сачувај