Fix in code.
MODIFY
src/server/rest/v1/service/TagService.ts
src/server/rest/v1/service/TagService.ts
@@ -709,7 +709,7 @@ export default class TagService {
}
// Get authorization filters for users
const authorizationUsersFilters = await AuthorizationService.checkAndGetUsersAuthorizationFilters(
- req.tenant, req.user);
+ req.tenant, req.user, {});
if (authorizationUsersFilters.authorized) {
authorizationTagsFilters.projectFields.push('userID', 'user.id', 'user.name', 'user.firstName', 'user.email',
'createdBy.name', 'createdBy.firstName', 'lastChangedBy.name', 'lastChangedBy.firstName');

MODIFY
src/server/rest/v1/service/UtilsService.ts
src/server/rest/v1/service/UtilsService.ts
@@ -558,7 +558,7 @@ export default class UtilsService {
// Check Users
// Get authorization filters for users
const authorizationUsersFilters = await AuthorizationService.checkAndGetUsersAuthorizationFilters(
- tenant, userToken);
+ tenant, userToken, {});
if (!authorizationUsersFilters.authorized) {
delete tag.userID;
delete tag.user;

Fix in code.