Skip to content

Commit

Permalink
Merge pull request #218 from fairnesscoop/fm/contact-delete-acl-employee
Browse files Browse the repository at this point in the history
Add missing employee permissions on DELETE /contacts/:id
  • Loading branch information
mmarchois authored Nov 10, 2021
2 parents dc846b4 + 3b2af78 commit 2212b4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class DeleteContactAction {
) {}

@Delete(':id')
@Roles(UserRole.COOPERATOR)
@Roles(UserRole.COOPERATOR, UserRole.EMPLOYEE)
@ApiOperation({ summary: 'Delete contact' })
public async index(@Param() dto: IdDTO) {
try {
Expand Down

0 comments on commit 2212b4d

Please sign in to comment.