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

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: []