Prevent users from changing Unified approval setting
Backend should completely block all requests of changing Unified Approval setting. Users need to switch to Multiple approval rules if they need to update the approval setting.
Implementation Details
- Still accept
required_approval_count
and return a dedicated error (same as if the endpoint would be removed, probably a404
, but please check during implementation!) that lets the user know that they should migrate to Multiple approval rules instead. - Eventually remove the options with Remove Unified Approval Setting related code (#388190 - closed) with a milestone after %17.0
- Remove advise in UI to use the API for unified approval rules, see #388191 (comment 1746958059)
- The API changes should be behind a feature flag so we can coordinate the rollout respecting breaking change windows
Alternative
- Remove
required_approval_count
from Protected Environments APIs
Edited by Andrei Zubov