From a14a77d60df5d24060b3c77d76dde122de534fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Orduna=20Le=C3=B3n?= <4264243+alorle@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:44:15 +0100 Subject: [PATCH] feat(users): authorize sesamehr plugin to list users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Orduna León <4264243+alorle@users.noreply.github.com> --- plugins/leemons-plugin-users/backend/services/users.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/leemons-plugin-users/backend/services/users.service.js b/plugins/leemons-plugin-users/backend/services/users.service.js index d691d49ca..294501359 100644 --- a/plugins/leemons-plugin-users/backend/services/users.service.js +++ b/plugins/leemons-plugin-users/backend/services/users.service.js @@ -137,7 +137,7 @@ module.exports = { if ( ctx.callerPlugin && - [provider, 'bulk-data'].filter(Boolean).includes(ctx.callerPlugin) + [provider, 'bulk-data', 'sesamehr'].filter(Boolean).includes(ctx.callerPlugin) ) { return listUsers({ ...ctx.params, ctx }); }