diff --git a/server/objects/user/User.js b/server/objects/user/User.js index d68a8787..1ee06380 100644 --- a/server/objects/user/User.js +++ b/server/objects/user/User.js @@ -308,8 +308,8 @@ class User { } checkCanAccessLibraryItemWithTags(tags) { - if (!tags || !tags.length) return false if (this.permissions.accessAllTags) return true + if (!tags || !tags.length) return false return this.itemTagsAccessible.some(tag => tags.includes(tag)) }