fix: restrict fields according to permlevel after update as well
This commit is contained in:
parent
7d8e70e1ad
commit
b79c5476a7
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def send_updated_docs(doc):
|
|||
from .load import get_docinfo
|
||||
|
||||
get_docinfo(doc)
|
||||
|
||||
doc.apply_fieldlevel_read_permissions()
|
||||
d = doc.as_dict()
|
||||
if hasattr(doc, "localname"):
|
||||
d["localname"] = doc.localname
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue