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
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Chose a project to test, and get it's id
-
On rails console. Result should be 20
Project.find_by_id(id).model_experiments_access_level
-
Navigate to 'Settings > General > Visibility' and search for 'Model experiments', should be below 'Package registry
-
Toggle from 'Everyone with access' to 'Only project members' and save
-
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #412384 (closed)