Logs audit events for self-hosted model terms and updates
requested to merge 477999-auditing-self-hosted-instance-level-configuration-changes-accept into master
What does this MR do and why?
Logs an audit event when and admin accepts usage of self-hosted models.
-
In rails console enable the feature flag and make sure terms have not been accepted
Feature.enable(:ai_custom_models) ::Ai::TestingTermsAcceptance.destroy_all
-
Navigate to 'Admin > Ai-Powered Features > Self-hosted models'
-
Accept the terms
-
on the console, verify an event was created:
AuditEvent.last
Related to #477999 (closed)
Edited by Eduardo Bonet