<commit_before>import { or } from '@ember/object/computed';
import { computed } from '@ember/object';
import { on } from '@ember/object/evented';
import { inject as service } from '@ember/service';
import attr from 'ember-data/attr';
import ModelBase from 'open-event-frontend/models/base';
import { hasMany } from 'ember-data/relationships';
import { toString } from 'lodash';

export default ModelBase.extend({

  authManager: service(),

  email                : attr('string'),
  password             : attr('string'),
  isVerified           : attr('boolean', { readOnly: true }),
  isSuperAdmin         : attr('boolean', { readOnly: true }),
  isAdmin              : attr('boolean', { readOnly: true }),
  isUserOrganizer      : attr('boolean'),
  isUserCoorganizer    : attr('boolean'),
  isUserTrackOrganizer : attr('boolean'),
  isUserModerator      : attr('boolean'),
  isUserRegistrar      : attr('boolean'),<commit_msg>Update user model (#1469)<commit_after>import { or } from '@ember/object/computed';
import { computed } from '@ember/object';
import { on } from '@ember/object/evented';
import { inject as service } from '@ember/service';
import attr from 'ember-data/attr';
import ModelBase from 'open-event-frontend/models/base';
import { hasMany } from 'ember-data/relationships';
import { toString } from 'lodash';

export default ModelBase.extend({

  authManager: service(),

  email                : attr('string'),
  password             : attr('string'),
  isVerified           : attr('boolean', { readOnly: true }),
  isSuperAdmin         : attr('boolean', { readOnly: true }),
  isAdmin              : attr('boolean', { readOnly: true }),
  isUserOrganizer      : attr('boolean'),
  isUserCoorganizer    : attr('boolean'),
  isUserTrackOrganizer : attr('boolean'),
  isUserModerator      : attr('boolean'),
  isUserRegistrar      : attr('boolean'),
  isSalesAdmin         : attr('boolean'),
  isMarketer           : attr('boolean'),
{'fraction_non_alphanumeric': 0.1467280163599182, 'fraction_numerical': 0.002044989775051125, 'mean_word_length': 3.3683035714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7614623', 'n_tokens_mistral': 561, 'n_tokens_neox': 555, 'n_words': 136}