Skip to content

Commit c70dea4

Browse files
committed
documentation: enumeration change
1 parent 61c2e93 commit c70dea4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/resources/hooks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
f
22
# Resource Hooks
33
This section covers the usage of **Resource Hooks**, which is a feature of`ResourceDefinition<T>`. See the [ResourceDefinition usage guide](resource-definitions.md) for a general explanation on how to set up a `ResourceDefinition<T>`. For a quick start, jump right to the [Getting started: most minimal example](#getting-started-most-minimal-example) section.
44

@@ -369,8 +369,8 @@ Now let's consider an API user that tries to update `New Article` by setting its
369369
2. Is the API user allowed to update `Alice`?
370370

371371
Apart from this, we also wish to verify permissions for the resources that are **implicitly affected** by this operation: `Bob` and `Old Article`. Setting `Alice` as the new author of `New Article` will result in removing the following two relationships: `Bob` being an author of `New Article`, and `Alice` being an author of `Old Article`. Therefore, we wish wish to verify the related permissions:
372-
1. Is the API user allowed to update `Bob`?
373-
2. Is the API user allowed to update `Old Article`?
372+
3. Is the API user allowed to update `Bob`?
373+
4. Is the API user allowed to update `Old Article`?
374374

375375
This authorization requirement can be fulfilled as follows.
376376

0 commit comments

Comments
 (0)