mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
Fix missing access in the laboratory mocked endpoint (#6262)
This commit is contained in:
parent
d0eb6039ce
commit
d98e1468a2
2 changed files with 6 additions and 1 deletions
5
.changeset/five-yaks-type.md
Normal file
5
.changeset/five-yaks-type.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'hive': patch
|
||||
---
|
||||
|
||||
Resolve the issue where the laboratory mocked endpoint consistently returns: "Please publish your first schema to Hive."
|
||||
|
|
@ -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}`],
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue