Skip to content

Commit

Permalink
remove permission in route get user
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebed-meleck committed Feb 1, 2024
1 parent 8e534a6 commit 57ad387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ exports.configure = function configure(app) {
app.delete('/debtor_groups/:uuid', debtorGroups.delete);

// users controller
app.get('/users', users.isAdmin, users.list);
app.get('/users', users.list);
app.post('/users', users.isAdmin, users.create);
app.get('/users/:id', users.detail);
app.get('/users/:username/exists', users.isAdmin, users.exists);
Expand Down

0 comments on commit 57ad387

Please sign in to comment.