feat(P-11): enhance media asset handling with legal hold attributes and update version to 0.8.85
Deploy Development / deploy (push) Successful in 39s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 10s
Test Suite / playwright-tests (push) Successful in 54s

This commit is contained in:
Lars committed 2026-05-11 13:07:52 +02:00
1 parent fb8837574e
commit f79f83e8f9
6 files changed
+24 -11

No files matched your search

+4 -1
View File
@@ -1145,7 +1145,10 @@ def list_media_assets(
cur.execute(
f"""SELECT ma.id, ma.mime_type, ma.byte_size, ma.original_filename, ma.visibility, ma.club_id,
ma.uploaded_by_profile_id, ma.lifecycle_state, ma.created_at, ma.sha256,
ma.copyright_notice, ma.storage_key, {tags_select}
ma.copyright_notice, ma.storage_key, ma.rights_status,
ma.legal_hold_active, ma.legal_hold_reason_code, ma.legal_hold_reason_note,
ma.legal_hold_set_at, ma.legal_hold_set_by_profile_id,
{tags_select}
pr.name AS uploader_name,
pr.email AS uploader_email,
cl.name AS club_name