<commit_before>import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Route.extend(AuthenticatedRouteMixin, {
  currentUser: Ember.inject.service('current-user'),
  model: function() {
    return this.get('store').query('entity', {
      'kind__lt': 30, // TODO Hardcoded
      'members__person__user': this.get('currentUser.user.id')
    });
  },
});<commit_msg>Organization support<commit_after>import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Route.extend(AuthenticatedRouteMixin, {
  currentUser: Ember.inject.service('current-user'),
  model: function() {
    return this.get('store').query('entity', {
      'kind__lt': 30, // TODO Hardcoded
      'officers__person__user': this.get('currentUser.user.id')
    });
  },
});
{'fraction_non_alphanumeric': 0.15077605321507762, 'fraction_numerical': 0.004434589800443459, 'mean_word_length': 5.02, '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': '3395111', 'n_tokens_mistral': 291, 'n_tokens_neox': 282, 'n_words': 47}