From d22ceccf78cd5f9035883b739a53f0355da4f10d Mon Sep 17 00:00:00 2001 From: GitLab Duo Date: Wed, 10 Sep 2025 09:31:35 +0000 Subject: [PATCH] Duo Workflow: Resolve issue #547723 --- doc/api/graphql/ai_impact_analytics.md | 4 ++-- doc/user/analytics/ai_impact_analytics.md | 4 ++-- ee/app/policies/ee/group_policy.rb | 2 +- ee/app/policies/ee/project_policy.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/graphql/ai_impact_analytics.md b/doc/api/graphql/ai_impact_analytics.md index 0ac140050a4afa..57098dc23ebbc4 100644 --- a/doc/api/graphql/ai_impact_analytics.md +++ b/doc/api/graphql/ai_impact_analytics.md @@ -19,7 +19,7 @@ Use the GraphQL API to retrieve and export AI impact analytics data. {{< details >}} -- Add-on: GitLab Duo Enterprise +- Add-on: GitLab Duo Pro, GitLab Duo Enterprise {{< /details >}} @@ -113,7 +113,7 @@ The query returns the following output: {{< details >}} -- Add-on: GitLab Duo Enterprise +- Add-on: GitLab Duo Pro, GitLab Duo Enterprise {{< /details >}} diff --git a/doc/user/analytics/ai_impact_analytics.md b/doc/user/analytics/ai_impact_analytics.md index cd244e36b41420..e63842358ae4d5 100644 --- a/doc/user/analytics/ai_impact_analytics.md +++ b/doc/user/analytics/ai_impact_analytics.md @@ -7,8 +7,8 @@ title: AI impact analytics {{< details >}} -- Tier: Ultimate -- Add-on: GitLab Duo Enterprise, GitLab Duo with Amazon Q +- Tier: Premium, Ultimate +- Add-on: GitLab Duo Pro, GitLab Duo Enterprise, GitLab Duo with Amazon Q - Offering: GitLab.com, GitLab Self-Managed {{< /details >}} diff --git a/ee/app/policies/ee/group_policy.rb b/ee/app/policies/ee/group_policy.rb index 46896380fe487e..fc2f8b676aa7f0 100644 --- a/ee/app/policies/ee/group_policy.rb +++ b/ee/app/policies/ee/group_policy.rb @@ -449,7 +449,7 @@ module GroupPolicy end rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_pro) }.enable :read_pro_ai_analytics - rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_enterprise) }.enable :read_enterprise_ai_analytics + rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_pro) }.enable :read_enterprise_ai_analytics rule { can?(:read_customizable_dashboards) & duo_usage_analytics_enabled }.enable :read_duo_usage_analytics diff --git a/ee/app/policies/ee/project_policy.rb b/ee/app/policies/ee/project_policy.rb index 41a3de2babba60..9b91d77fb44d81 100644 --- a/ee/app/policies/ee/project_policy.rb +++ b/ee/app/policies/ee/project_policy.rb @@ -891,7 +891,7 @@ module ProjectPolicy end rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_pro) }.enable :read_pro_ai_analytics - rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_enterprise) }.enable :read_enterprise_ai_analytics + rule { can?(:read_customizable_dashboards) & (amazon_q_enabled | assigned_to_duo_pro) }.enable :read_enterprise_ai_analytics rule { can?(:read_customizable_dashboards) & duo_usage_analytics_enabled }.enable :read_duo_usage_analytics -- GitLab