Skip to content

Commit 249ee90

Browse files
committed
docs: updated docs
1 parent 9738795 commit 249ee90

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

docs/graphql/enum/errorcodeenum.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ Represents the available error responses
77
| Value | Description |
88
|-------|-------------|
99
| `CANNOT_DELETE_LAST_ADMIN_ROLE` | This action would remove the last administrative role |
10+
| `CANNOT_MODERATE_USER` | Only administrators can modify moderation status of users |
1011
| `CANNOT_MODIFY_ADMIN` | Only administrators can modify admin status of users |
1112
| `CANNOT_MODIFY_OWN_ADMIN` | Users cannot modify their own admin status |
13+
| `CANNOT_MODIFY_OWN_BLOCKED_STATUS` | Users cannot modify their own blocked status |
1214
| `CANNOT_REMOVE_LAST_ADMINISTRATOR` | This action would remove the last administrator |
1315
| `CANNOT_REMOVE_LAST_ADMIN_ABILITY` | This action would remove the last administrative ability |
1416
| `CYCLIC_DATA_TYPE_REFERENCE` | A data type dependency cycle was detected |
@@ -98,6 +100,7 @@ Represents the available error responses
98100
| `TOTP_SECRET_ALREADY_SET` | This user already has TOTP set up |
99101
| `UNMODIFIABLE_FIELD` | The user is not permitted to modify this field |
100102
| `UNSUPPORTED_AUTHENTICATION` | The current authentication is not supported for this operation |
103+
| `USER_BLOCKED` | The user is blocked from accessing the application |
101104
| `USER_NOT_FOUND` | The user with the given identifier was not found |
102105
| `USER_SESSION_NOT_FOUND` | The user session with the given identifier was not found |
103106
| `WRONG_TOTP` | Invalid TOTP code provided |

docs/graphql/mutation/usersupdate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Update an existing user.
99
| Name | Type | Description |
1010
|------|------|-------------|
1111
| `admin` | [`Boolean`](../scalar/boolean.md) | New global admin status for the user. |
12+
| `blocked` | [`Boolean`](../scalar/boolean.md) | New blocked status for the user. |
1213
| `clientMutationId` | [`String`](../scalar/string.md) | A unique identifier for the client performing the mutation. |
1314
| `email` | [`String`](../scalar/string.md) | New email for the user. |
1415
| `firstname` | [`String`](../scalar/string.md) | New firstname for the user. |

docs/graphql/object/user.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Represents a user
1010
|------|------|-------------|
1111
| `admin` | [`Boolean`](../scalar/boolean.md) | Global admin status of the user |
1212
| `avatarPath` | [`String`](../scalar/string.md) | The avatar if present of the user |
13+
| `blocked` | [`Boolean`](../scalar/boolean.md) | Whether the user is blocked from accessing the application |
1314
| `createdAt` | [`Time!`](../scalar/time.md) | Time when this User was created |
1415
| `email` | [`String`](../scalar/string.md) | Email of the user |
1516
| `emailVerifiedAt` | [`Time`](../scalar/time.md) | Email verification date of the user if present |

0 commit comments

Comments
 (0)