Resolve "Add TroubleshootJobWithAI to pipeline graphql endpoint"
What does this MR do and why?
This MR adds the backend part for troubleshooting jobs inside the failed jobs accordion menu of a pipeline.
We add a new PipelinePolicy
to the EE part of our application to be able to check, if we are allowed to use troubleshoot with ai
for a given pipeline.
We also add a field to the GraphQL endpoint for the frontend to check, if a user is allowed to access the troubleshooting of a job via ai.
Related to #497571 (closed)
Edited by Daniel P.