Skip to content

Commit 6da57df

Browse files
committed
fix: delete user
1 parent 047b482 commit 6da57df

File tree

8 files changed

+2539
-2500
lines changed

8 files changed

+2539
-2500
lines changed

amplify/data/resource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const schema = a
2222
.default("Participant")
2323
.authorization((allow) => [
2424
allow.ownerDefinedIn("profileOwner").to(["read", "create"]),
25-
allow.groups(["Admin"]).to(["read", "update", "create"]),
25+
allow.groups(["Admin"]).to(["read", "update", "create", "delete"]),
2626
]),
2727
email: a
2828
.string()
2929
.authorization((allow) => [
3030
allow.ownerDefinedIn("profileOwner").to(["read", "create"]),
31-
allow.groups(["Admin"]).to(["read", "create"]),
31+
allow.groups(["Admin"]).to(["read", "create", "delete"]),
3232
]),
3333
institution: a.string(),
3434
program: a.string(),

0 commit comments

Comments
 (0)