Skip to content

Commit

Permalink
protect endpoint behind authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
schjoth committed Jun 9, 2022
1 parent 9a5e8d5 commit 379679b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/permissions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const permissions = shield(
and(isParticipantOfVotation, resultIsPublished, votesNotHidden)
),
numberOfUpcomingVotations: and(isParticipantOfMeeting),
updateMyPassword: and(isAuthenticated),
},
Mutation: {
addParticipants: and(isAdminOfMeetingId),
Expand Down

0 comments on commit 379679b

Please sign in to comment.