Server side object lookup problem.

This commit is contained in:
Michael Woods
2025-02-16 14:11:46 -05:00
parent b71919c26f
commit 6262cf9b20

View File

@@ -308,7 +308,7 @@ def handle_get_no_path(req: Request, conn: PacketServerConnection, db: ZODB.DB):
objs.append(obj) objs.append(obj)
else: else:
logging.debug("object private") logging.debug("object private")
if obj.uuid == user.uuid: if obj.owner == user.uuid:
logging.debug("user uuid matches object uuid") logging.debug("user uuid matches object uuid")
objs.append(obj) objs.append(obj)
response.payload = object_display_filter(objs, opts) response.payload = object_display_filter(objs, opts)