Fix missing access in the laboratory mocked endpoint (#6262)

This commit is contained in:
Kamil Kisiela 2025-01-09 10:55:04 +01:00 committed by GitHub
parent d0eb6039ce
commit d98e1468a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'hive': patch
---
Resolve the issue where the laboratory mocked endpoint consistently returns: "Please publish your first schema to Hive."

View file

@ -166,7 +166,7 @@ function transformAccessTokenLegacyScopes(args: {
},
{
effect: 'allow',
action: ['organization:describe', 'project:describe'],
action: ['organization:describe', 'project:describe', 'laboratory:describe'],
resource: [`hrn:${args.organizationId}:organization/${args.organizationId}`],
},
);