mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fix txn read scope
This commit is contained in:
parent
070d5f59d1
commit
26ae33522d
2 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue