Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
anoopmb
/
frappe
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
DocShare perm fixed, can read if share permissions (
#2171
)
version-14
KanchanChauhan
hace 8 años
committed by
Rushabh Mehta
padre
623b271c11
commit
6e9fb3b04c
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
frappe/core/doctype/docshare/docshare.py
+ 1
- 1
frappe/core/doctype/docshare/docshare.py
Ver fichero
@@ -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):
Escribir
Vista previa
Cargando…
Cancelar
Guardar