Skip to content

Add existing validations to the workspaces agent config model

Vishal Tak requested to merge vtak/sudo_access_model_update into master

What does this MR do and why?

The validations added in this MR were added in Add db fields for workspace sudo access (!163730 - merged) to the remote_development_agent_config model. We have now created a new model called workspaces_agent_config and both these models are pointing to the same underlying table.

The MR adds the "missing validations" on the workspaces_agent_config model to keep it as the SSoT.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

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

Edited by Vishal Tak

Merge request reports

Loading