fix: grant create and delete SSH key permissions when canAccessToSSHKeys is enabled for members (#4512)

This commit is contained in:
Mauricio Siu 2026-05-30 01:06:45 -06:00 committed by GitHub
parent 8018027330
commit 4ba0f71220
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,6 +164,8 @@ const getLegacyOverrides = (
},
sshKeys: {
read: !!memberRecord.canAccessToSSHKeys,
create: !!memberRecord.canAccessToSSHKeys,
delete: !!memberRecord.canAccessToSSHKeys,
},
gitProviders: {
read: !!memberRecord.canAccessToGitProviders,