Skip to content

Commit

Permalink
fix true/false mixup in permission map
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushaddon committed Sep 27, 2023
1 parent 553f2ff commit c294222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/core/client/admin/permissions/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const permissionMap: PermissionMap<AbilityType, PermissionContext> = {
[GQLUSER_ROLE.MODERATOR]: () => true,
},
ARCHIVE_STORY: {
[GQLUSER_ROLE.ADMIN]: () => false,
[GQLUSER_ROLE.ADMIN]: () => true,
},
};

Expand Down

0 comments on commit c294222

Please sign in to comment.