<commit_before>/**
 * @license
 * Copyright 2020 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'foam.comics.v2',
  name: 'CRUDEnabledActionsAuth',
  documentation: `
    A config which can take in customized permission checks for the isEnabled method on CRUD actions
  `,

  properties: [
    {
      class: 'Boolean',
      name: 'isEnabled'
    },
    {
      class: 'FObjectProperty',
      of: 'foam.comics.v2.EnabledActionsAuth',
      name: 'enabledActionsAuth',
    }
  ]
});<commit_msg>Imrpoved documentation<commit_after>/**
 * @license
 * Copyright 2020 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'foam.comics.v2',
  name: 'CRUDEnabledActionsAuth',
  documentation: `
    A config which can take in customized front-end permission checks for actions 
    using the isEnabled method on action. Is wired up through DAOMenu2 by using the
    DAOControllerConfig. 
  `,

  properties: [
    {
      class: 'Boolean',
      name: 'isEnabled'
    },
    {
      class: 'FObjectProperty',
      of: 'foam.comics.v2.EnabledActionsAuth',
      name: 'enabledActionsAuth',
    }
  ]
});
{'fraction_non_alphanumeric': 0.12163265306122449, 'fraction_numerical': 0.013877551020408163, 'mean_word_length': 2.9548387096774196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7548538', 'n_tokens_mistral': 405, 'n_tokens_neox': 387, 'n_words': 100}