Server side change to enable default explicit acces for admins

This commit is contained in:
Aaron Graubert 2024-09-11 23:09:04 -06:00 committed by GitHub
parent 6ae14213f5
commit 2df3277dcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ class User extends Model {
upload: type === 'root' || type === 'admin', upload: type === 'root' || type === 'admin',
accessAllLibraries: true, accessAllLibraries: true,
accessAllTags: true, accessAllTags: true,
accessExplicitContent: false, accessExplicitContent: type === 'root' || type === 'admin',
selectedTagsNotAccessible: false, selectedTagsNotAccessible: false,
librariesAccessible: [], librariesAccessible: [],
itemTagsSelected: [] itemTagsSelected: []