Skip to content

Logs audit events for self-hosted model terms and updates

What does this MR do and why?

Logs an audit event when and admin accepts usage of self-hosted models.

  1. In rails console enable the feature flag and make sure terms have not been accepted

    Feature.enable(:ai_custom_models)
     ::Ai::TestingTermsAcceptance.destroy_all
  2. Navigate to 'Admin > Ai-Powered Features > Self-hosted models'

  3. Accept the terms

  4. on the console, verify an event was created:

    AuditEvent.last

Related to #477999 (closed)

Edited by Eduardo Bonet

Merge request reports

Loading