mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Merge pull request #3407 from agraubert/patch-1
Default deny explicit content to users
This commit is contained in:
commit
5c49a8ce6a
@ -351,7 +351,7 @@ export default {
|
||||
update: type === 'admin',
|
||||
delete: type === 'admin',
|
||||
upload: type === 'admin',
|
||||
accessExplicitContent: true,
|
||||
accessExplicitContent: type === 'admin',
|
||||
accessAllLibraries: true,
|
||||
accessAllTags: true,
|
||||
selectedTagsNotAccessible: false
|
||||
@ -386,7 +386,7 @@ export default {
|
||||
upload: false,
|
||||
accessAllLibraries: true,
|
||||
accessAllTags: true,
|
||||
accessExplicitContent: true,
|
||||
accessExplicitContent: false,
|
||||
selectedTagsNotAccessible: false
|
||||
},
|
||||
librariesAccessible: [],
|
||||
|
@ -107,7 +107,7 @@ class User extends Model {
|
||||
upload: type === 'root' || type === 'admin',
|
||||
accessAllLibraries: true,
|
||||
accessAllTags: true,
|
||||
accessExplicitContent: true,
|
||||
accessExplicitContent: type === 'root' || type === 'admin',
|
||||
selectedTagsNotAccessible: false,
|
||||
librariesAccessible: [],
|
||||
itemTagsSelected: []
|
||||
|
Loading…
Reference in New Issue
Block a user