Fix txn read scope

This commit is contained in:
Jake Barnby 2025-10-02 21:36:33 +13:00
parent 070d5f59d1
commit 26ae33522d
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ class Get extends Action
->setHttpPath('/v1/databases/transactions/:transactionId')
->desc('Get transaction')
->groups(['api', 'database', 'transactions'])
->label('scope', 'transactions.read')
->label('scope', 'rows.read')
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: 'databases',

View file

@ -34,7 +34,7 @@ class XList extends Action
->setHttpPath('/v1/databases/transactions')
->desc('List transactions')
->groups(['api', 'database', 'transactions'])
->label('scope', 'transactions.read')
->label('scope', 'rows.read')
->label('resourceType', RESOURCE_TYPE_DATABASES)
->label('sdk', new Method(
namespace: 'databases',