Fix scope

This commit is contained in:
Jake Barnby 2025-08-15 00:35:20 +12:00
parent ede88a533e
commit 84bf2641aa
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

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