diff --git a/doc/api/graphql/ai_impact_analytics.md b/doc/api/graphql/ai_impact_analytics.md index 0ac140050a4afa8c23990cfe2bf57f54b3c3952f..57098dc23ebbc452428383c5e184787dea9a74bb 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 cd244e36b41420d184706f013587e4e87835cf8a..e63842358ae4d5504d9c7f144ff4b6568873d90f 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 46896380fe487e5d183979dda309981c9e62f3d6..fc2f8b676aa7f0c0919220307043b505d8655ef1 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 41a3de2babba6078d56fe7f8bd7674c9de13089a..9b91d77fb44d81e8ef00d73e4befdb740c37e313 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