Skip to content

Commit cee25d8

Browse files
author
Rene Brandel
committed
removed the reference fo the word "model"
1 parent e243d2e commit cee25d8

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/graphqlapi/connect-api-to-existing-database

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/graphqlapi/connect-api-to-existing-database/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ type Mutation {
396396
</Callout>
397397

398398

399-
## Apply authorization rules on the models
399+
## Apply authorization rules
400400

401401
The `@auth` directive can be used to restrict access to data and operations by specifying authorization rules. It allows granular access control over the GraphQL API based on the user's identity and attributes. You can for example, limit a query or mutation to only logged-in users via an `@auth(rules: [{ allow: private }])` rule or limit access to only users of the "Admin" group via an `@auth(rules: [{ allow: groups, groups: ["Admin"] }])` rule.
402402

0 commit comments

Comments
 (0)