Retrict some query and mutation to only session
Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -18,7 +18,7 @@ type Membership implements Node {
|
||||
|
||||
permission(action: String!): Boolean!
|
||||
@goField(forceResolver: true)
|
||||
@session(required: PRESENT)
|
||||
@authentication(required: PRESENT)
|
||||
}
|
||||
|
||||
extend type Mutation {
|
||||
|
||||
Reference in New Issue
Block a user