Skip to content

fix(serializer): remove unnecessary fields for non-permitted users - #2186

Merged
zzacharo merged 3 commits into
CERNDocumentServer:mainfrom
palkerecsenyi:access-api-filter
Aug 4, 2026
Merged

fix(serializer): remove unnecessary fields for non-permitted users #2186
zzacharo merged 3 commits into
CERNDocumentServer:mainfrom
palkerecsenyi:access-api-filter

Conversation

@palkerecsenyi

Copy link
Copy Markdown
Member

I have tested this locally and I think the removed fields do not seem to be needed on the frontend. The _files field is definitely needed so that is kept.

These fields are only shown for users who have update permissions on the video.

zzacharo
zzacharo previously approved these changes Aug 4, 2026

@zzacharo zzacharo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@palkerecsenyi
palkerecsenyi force-pushed the access-api-filter branch 2 times, most recently from f3c0516 to 8717e9b Compare August 4, 2026 11:06
@zzacharo
zzacharo merged commit 4e71611 into CERNDocumentServer:main Aug 4, 2026
1 check passed
@palkerecsenyi
palkerecsenyi deleted the access-api-filter branch August 4, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants