Bläddra i källkod

Allow Playlists access for users with allowed tags configured (#12686)

elfalem 8 månader sedan
förälder
incheckning
9ec85a0f18
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      CONTRIBUTORS.md
  2. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 0
CONTRIBUTORS.md

@@ -191,6 +191,7 @@
  - [pret0rian8](https://github.com/pret0rian)
  - [jaina heartles](https://github.com/heartles)
  - [oxixes](https://github.com/oxixes)
+ - [elfalem](https://github.com/elfalem)
 
 # Emby Contributors
 

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -1608,7 +1608,7 @@ namespace MediaBrowser.Controller.Entities
             }
 
             var parent = GetParents().FirstOrDefault() ?? this;
-            if (parent is UserRootFolder or AggregateFolder)
+            if (parent is UserRootFolder or AggregateFolder or UserView)
             {
                 return true;
             }