mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix user tags issue
This commit is contained in:
		
							parent
							
								
									554e9ec238
								
							
						
					
					
						commit
						dc9c307663
					
				@ -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))
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user