Skip allowed tags check for parents of an item (#12721)

This commit is contained in:
elfalem
2025-02-09 11:49:02 -05:00
committed by GitHub
parent 21e398ba0c
commit d1fbdcee34
6 changed files with 20 additions and 18 deletions

View File

@@ -96,11 +96,11 @@ namespace MediaBrowser.Controller.Entities
return GetLibraryOptions(Path);
}
public override bool IsVisible(User user)
public override bool IsVisible(User user, bool skipAllowedTagsCheck = false)
{
if (GetLibraryOptions().Enabled)
{
return base.IsVisible(user);
return base.IsVisible(user, skipAllowedTagsCheck);
}
return false;