Skip to content

Track edit action by snippet editor for usage data

What does this MR do?

In this MR we implement the changes to track the action when the user uses the snippet editor.

But how is that possible? Recently, we introduced the api_user? method in the BaseMutation class. This method returns false when the user has a session and, therefore, is using the UI. Othewise, it would be a regular query call to GraphQL with a token. That user with the session means that the operation was performed by the UI and, therefore, with the snippet editor.

Does this MR meet the acceptance criteria?

Conformity

Refs #232841 (closed)

Merge request reports