diff --git a/amplify/backend/api/team/schema.graphql b/amplify/backend/api/team/schema.graphql index 7ad10ba..4ec7da1 100644 --- a/amplify/backend/api/team/schema.graphql +++ b/amplify/backend/api/team/schema.graphql @@ -95,7 +95,7 @@ type requests @auth( rules: [ { allow: groups, groups: ["Auditors"], operations: [read] } - { allow: owner, operations: [read]} + { allow: owner, operations: [read, update]} { allow: owner, ownerField: "approver_ids", operations: [update,read] } { allow: private, provider: iam, operations: [read, update] } ] @@ -369,4 +369,4 @@ type Query { validateRequest: requests @function(name: "teamvalidateRequest-${env}") @auth(rules: [{ allow: private }]) -} \ No newline at end of file +}