We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 371f81e + f9a5af8 commit cd2af53Copy full SHA for cd2af53
2 files changed
app/graphql/types/user_type.rb
@@ -52,6 +52,7 @@ class UserType < Types::BaseObject
52
expose_abilities %i[
53
manage_mfa
54
update_user
55
+ delete_user
56
]
57
58
id_field User
docs/graphql/object/useruserabilities.md
@@ -8,6 +8,7 @@ Abilities for the current user on this User
8
9
| Name | Type | Description |
10
|------|------|-------------|
11
+| `deleteUser` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `delete_user` ability on this User |
12
| `manageMfa` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `manage_mfa` ability on this User |
13
| `updateUser` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `update_user` ability on this User |
14
0 commit comments