Skip to content

Fix items count for users with item restricting permissions #4164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

advplyr
Copy link
Owner

@advplyr advplyr commented Mar 26, 2025

Brief summary

See #4163

Users with permissions set that can limit the number of items shown on the library page can show the wrong count due to count caching.

Which issue is fixed?

Fixes #4163

In-depth Description

This fix always skips the count cache for users with a tag restriction or a restriction on explicit content.

It would be too complicated to keep using the count cache for those users in its current implementation.

How have you tested this?

Tested with users with tag restriction and explicit content restriction.

@advplyr advplyr marked this pull request as ready for review March 26, 2025 22:41
@advplyr advplyr merged commit 7f3421f into master Mar 26, 2025
7 checks passed
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.

[Bug]: Library count permission filtering by tag is not updated until container is restarted
1 participant