Skip to content

Commit 2c2c353

Browse files
authored
Fix backup dropdown permissions (pterodactyl#3469)
1 parent 57987c0 commit 2c2c353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/scripts/components/server/backups/BackupRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default ({ backup, className }: Props) => {
8181
</p>
8282
<p css={tw`text-2xs text-neutral-500 uppercase mt-1`}>Created</p>
8383
</div>
84-
<Can action={'backup.download'}>
84+
<Can action={[ 'backup.download', 'backup.restore', 'backup.delete' ]} matchAny>
8585
<div css={tw`mt-4 md:mt-0 ml-6`} style={{ marginRight: '-0.5rem' }}>
8686
{!backup.completedAt ?
8787
<div css={tw`p-2 invisible`}>

0 commit comments

Comments
 (0)