1234567891011121314151617 |
- module Gql::Mutations
- class Mention::Base < BaseMutation
- protected
- def fetch_object(object_id)
- Gql::ZammadSchema
- .authorized_object_from_id(
- object_id,
- user: context.current_user,
- query: :agent_read_access?,
- type: ::Ticket
- )
- end
- end
- end
|