ソースを参照

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


読み込み中…
キャンセル
保存