Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/graphql/types/user_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class UserType < Types::BaseObject
expose_abilities %i[
manage_mfa
update_user
delete_user
]

id_field User
Expand Down
1 change: 1 addition & 0 deletions docs/graphql/object/useruserabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Abilities for the current user on this User

| Name | Type | Description |
|------|------|-------------|
| `deleteUser` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `delete_user` ability on this User |
| `manageMfa` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `manage_mfa` ability on this User |
| `updateUser` | [`Boolean!`](../scalar/boolean.md) | Shows if the current user has the `update_user` ability on this User |