Skip to content

Commit a14a77d

Browse files
committed
feat(users): authorize sesamehr plugin to list users
Signed-off-by: Álvaro Orduna León <[email protected]>
1 parent f636a50 commit a14a77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/leemons-plugin-users/backend/services/users.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ module.exports = {
137137

138138
if (
139139
ctx.callerPlugin &&
140-
[provider, 'bulk-data'].filter(Boolean).includes(ctx.callerPlugin)
140+
[provider, 'bulk-data', 'sesamehr'].filter(Boolean).includes(ctx.callerPlugin)
141141
) {
142142
return listUsers({ ...ctx.params, ctx });
143143
}

0 commit comments

Comments
 (0)