Follow-up from "DAP enablement setting"

The following discussion from !215778 (merged) should be addressed:

  • @jannik_lehmann started a discussion: (+4 comments)

    Question (blocking): I'm confused about this and not sure how this aligns with the MR Description.

    If no duo_agent_platform_enabled field is passed, the setting will be hidden.

    We're using the BE var duoAgentPlatformEnabled to derive two separate variables with different default behaviors. I feel this could be easier to maintain with a SSOT maybe in the component?

    So when duoAgentPlatformEnabled is undefined:

    • showDuoAgentPlatformEnabledSetting -> false
    • duoAgentPlatformEnabled -> true

    Is this intended behaviour?

Edited by 🤖 GitLab Bot 🤖