<commit_before>/*
 * Copyright (C) 2021 - 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 I18n from 'i18n!permissions_templates_49'
import {generateActionTemplates} from '../generateActionTemplates'

export const template = generateActionTemplates(
  [
    {
      title: I18n.t('Pages - create'),
      description: I18n.t('Allows user to create course pages.')
    },
    {
      title: I18n.t('Pages - delete'),
      description: I18n.t('Allows user to delete course pages.')
    },
    {
      title: I18n.t('Pages - update'),
      description: I18n.t('Allows user to edit course pages.')
    },
    {
      description: I18n.t('Allows user to define users allowed to edit the page.')
    },
    {
      description: I18n.t('Allows user to add page to student to-do list.')
    },
    {
      description: I18n.t('Allows user to publish and unpublish pages.')
    },
    {
      description: I18n.t('Allows user to view page history and set front page.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint Course lock settings in the Pages index page and for an individual page in a Blueprint master course.'
      )
    }
  ],
  [
    {
      title: I18n.t('Blueprint Courses'),
      description: I18n.t('Blueprint courses must be enabled for an account by an admin.')
    },
    {
      description: I18n.t(
        'To edit lock settings on the Pages index page, Pages - update, Blueprint Courses - add / edit / associate / delete, and Courses - manage.'
      )
    },
    {
      description: I18n.t(
        'However, if these additional permissions are enabled, but the Pages - update permission is not enabled, the user can still adjust content lock settings on individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Student Page History'),
      description: I18n.t(
        'Students can edit and view page history if allowed in the options for an individual page.'
      )
    }
  ],
  [
    {
      title: I18n.t('Pages - create'),
      description: I18n.t('Allows user to delete course pages.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint lock settings for individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Pages - delete'),
      description: I18n.t('Allows user to delete course pages.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint lock settings for individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Pages - update'),
      description: I18n.t('Allows user to edit course pages.')
    },<commit_msg>fix typo in wiki granular permissions<commit_after>/*
 * Copyright (C) 2021 - 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 I18n from 'i18n!permissions_templates_49'
import {generateActionTemplates} from '../generateActionTemplates'

export const template = generateActionTemplates(
  [
    {
      title: I18n.t('Pages - create'),
      description: I18n.t('Allows user to create course pages.')
    },
    {
      title: I18n.t('Pages - delete'),
      description: I18n.t('Allows user to delete course pages.')
    },
    {
      title: I18n.t('Pages - update'),
      description: I18n.t('Allows user to edit course pages.')
    },
    {
      description: I18n.t('Allows user to define users allowed to edit the page.')
    },
    {
      description: I18n.t('Allows user to add page to student to-do list.')
    },
    {
      description: I18n.t('Allows user to publish and unpublish pages.')
    },
    {
      description: I18n.t('Allows user to view page history and set front page.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint Course lock settings in the Pages index page and for an individual page in a Blueprint master course.'
      )
    }
  ],
  [
    {
      title: I18n.t('Blueprint Courses'),
      description: I18n.t('Blueprint courses must be enabled for an account by an admin.')
    },
    {
      description: I18n.t(
        'To edit lock settings on the Pages index page, Pages - update, Blueprint Courses - add / edit / associate / delete, and Courses - manage.'
      )
    },
    {
      description: I18n.t(
        'However, if these additional permissions are enabled, but the Pages - update permission is not enabled, the user can still adjust content lock settings on individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Student Page History'),
      description: I18n.t(
        'Students can edit and view page history if allowed in the options for an individual page.'
      )
    }
  ],
  [
    {
      title: I18n.t('Pages - create'),
      description: I18n.t('Allows user to create course pages.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint lock settings for individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Pages - delete'),
      description: I18n.t('Allows user to delete course pages.')
    },
    {
      description: I18n.t(
        'Allows user to edit Blueprint lock settings for individual pages in a Blueprint Master Course.'
      )
    },
    {
      title: I18n.t('Pages - update'),
      description: I18n.t('Allows user to edit course pages.')
    },
{'fraction_non_alphanumeric': 0.09484598963098506, 'fraction_numerical': 0.018603232692894173, 'mean_word_length': 2.564673913043478, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2399381', 'n_tokens_mistral': 1949, 'n_tokens_neox': 1868, 'n_words': 741}