add explainer text for view_admin_analytics permission

test plan:
 - the "what it does" and "additional considerations" text should be
   visible in the permissions sidebar (see FOO-3701)

flag=view_admin_analytics
closes FOO-3787

Change-Id: I5e79ed80c3b65a79ce5c5e049237b268e8f1a7b3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/326916
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
This commit is contained in:
Jeremy Stanley 2023-09-05 09:10:24 -06:00
parent 1a96e8626e
commit 1c417062eb
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
/*
* Copyright (C) 2023 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {useScope as useI18nScope} from '@canvas/i18n'
import {generateActionTemplates} from '../generateActionTemplates'
const I18n = useI18nScope('permissions_templates_79')
export const template = generateActionTemplates(
[
{
title: I18n.t('Admin Analytics'),
description: I18n.t(
'Allows user to view, drill into, and export Admin Analytics data in the Overview, Course, and Student tabs.'
),
},
],
[
{
title: I18n.t('Account Settings'),
description: I18n.t(
'The Admin Analytics feature must be enabled in Account Settings to view Admin Analytics dashboards.'
),
},
]
)