Skip to content

Add global policy for Duo Enterprise

Lukas Wanko requested to merge 470475-add-duo-enterprise-global-policy into master

What does this MR do and why?

This code update introduces new access control rules for various features in the application. It adds conditions and rules for accessing Duo Enterprise. The conditions check for license availability, user permissions, and feature activation status. The rule enable or disable access to these features based on the conditions. The utilization of this new rule will follow later.

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

This code change will not yet be exposed to the customer. We currently use the global policy for Duo Pro (not Enterprise) in three places and will later use this merge request's functionality:

  1. Authorization for the code suggestion API
  2. Passing features availabilities to the web IDE
  3. Displaying the availability of Duo Enterprise via GraphQL

Related to #470475

Edited by Lukas Wanko

Merge request reports