feat: comments - default provider create (wip) + permissions
This commit is contained in:
1 parent
2fe2e6210d
commit
1222355046
14 files changed
+369
-21
No files matched your search
@@ -39,12 +39,18 @@ type CommentMutation {
|
||||
pageId: Int!
|
||||
replyTo: Int
|
||||
content: String!
|
||||
guestName: String
|
||||
guestEmail: String
|
||||
): DefaultResponse @auth(requires: ["write:comments", "manage:system"])
|
||||
|
||||
update(
|
||||
id: Int!
|
||||
content: String!
|
||||
): DefaultResponse @auth(requires: ["write:comments", "manage:comments", "manage:system"])
|
||||
|
||||
delete(
|
||||
id: Int!
|
||||
): DefaultResponse @auth(requires: ["manage:comments", "manage:system"])
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user