/graphql
endpoint anonymous access off
Anonymous Access
toggle to On
or Off
off
, any client accessing the /graphql
endpoint must pass a valid client or admin
API Key in DG-Auth
or X-Auth-Token
header.
With anonymous access turned on
(Default configuration), you need to further
define the permission per type
defined in your GraphQL Schema.
on
, any newly
deployed type has read
and write
permissions for anonymous users.
To control the anonymous access to operations :
Edit Permission
Read
to allow
anonymous clients to access the get<Type>
and query<Type>
operations. —
Check Write
to allow anonymous clients to access the add<Type>
,
update<Type>
, and delete<Type>
operations.parent
type is granted read/write access to anonymous
clients.
Consider the following Schema:
User
.