Skip to content

Commit

Permalink
allow admins to archive/unarchive stories
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Nov 24, 2023
1 parent 8abbb48 commit cfaa294
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 cfaa294

Please sign in to comment.