Ver a proveniência

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

version-14
KanchanChauhan há 8 anos
committed by Rushabh Mehta
ascendente
cometimento
6e9fb3b04c
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      frappe/core/doctype/docshare/docshare.py

+ 1
- 1
frappe/core/doctype/docshare/docshare.py Ver ficheiro

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


Carregando…
Cancelar
Guardar