Skip to content

Adds frontend to toggle visibility of model experiments

What does this MR do and why?

Adds a toggle to disable Model experiments on Project visibility

This is MR is part of adding the visilibility to Model experiments. To check the change in this MR in the full, context, refer to !121396 (closed)

Screenshots or screen recordings

image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Chose a project to test, and get it's id

  2. On rails console. Result should be 20

    Project.find_by_id(id).model_experiments_access_level
  3. Navigate to 'Settings > General > Visibility' and search for 'Model experiments', should be below 'Package registry

  4. Toggle from 'Everyone with access' to 'Only project members' and save

  5. On rails console. Result should be 10

    Project.find_by_id(id).model_experiments_access_level

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #412384 (closed)

Edited by Eduardo Bonet

Merge request reports

Loading