feat: comments - default provider create (wip) + permissions

This commit is contained in:
NGPixel
2020-05-26 22:56:11 -04:00
parent 2fe2e6210d
commit 1222355046
14 changed files with 412 additions and 24 deletions

View File

@@ -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"])
}
# -----------------------------------------------