Skip to content

Commit

Permalink
feat: restrict "current CSV" to only those users who can edit the lis…
Browse files Browse the repository at this point in the history
…ting

[#OCD-4637]
  • Loading branch information
andlar committed Aug 28, 2024
1 parent 67385a6 commit 6a12682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/listing/listing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function ChplListingPage({ id }) {
Original CSV
</Button>
)}
{ hasAnyRole(['chpl-admin', 'chpl-onc', 'chpl-onc-acb'])
{ canEdit()
&& (
<Button
color="secondary"
Expand Down

0 comments on commit 6a12682

Please sign in to comment.