<commit_before>.grid
  .panel.panel-default
    p.page-title
      i.fa.fa-key(style="color: #e25440;")
      |  ACLs
.grid
  .panel.panel-default
    .panel-heading.panel-title
      i.fa.fa-plus-circle(style="color: #e25440;")
      |  Create
    .panel-body.text-center
      form(
        ng-submit = 'ctrl.addAcl()'
      )
        .form-group
          ui-select(
            ng-model = 'ctrl.subject'
          )
            ui-select-match(
              placeholder = 'Choose a user'
            )
              div
                i.fa.fa-user
                |  {{$select.selected.email}}
            ui-select-choices(
              repeat = 'user in ctrl.users | filter:{ permission: "!admin" } | filter:$select.search'
            )
              div
                i.fa.fa-user
                |  {{user.email}}
        .form-group
          ui-select(
            ng-model = 'ctrl.object'
          )
            ui-select-match(
              placeholder = 'Choose an object'
            )
              div
                i(class = 'xo-icon-{{$select.selected.type | lowercase}}')
                |  {{$select.selected.name_label}}
            ui-select-choices(
              repeat = 'object in ctrl.objects | selectHighLevel | filter:$select.search | orderBy:["type", "name_label"]'
            )
              div
                i(class = 'xo-icon-{{object.type | lowercase}}')
                |  {{object.name_label}}
        button.btn.btn-success
          i.fa.fa-plus
            |  Create

  .panel.panel-default
    .panel-heading.panel-title
      i.fa.fa-street-view(style="color: #e25440;")
      |  Manage
    .panel-body
      table.table.table-hover
        tr
          th User
          th Object
          th Action
        tr(ng-repeat = 'acl in ctrl.acls')
          td {{ctrl.usersById[acl.subject].email}}
          td {{(acl.object | resolve).name_label}}
          td
            button.btn.btn-sm.btn-danger(ng-click = 'ctrl.removeAcl(acl.subject, acl.object)')
              i.fa.fa-trash
<commit_msg>fix #245<commit_after>.grid
  .panel.panel-default
    p.page-title
      i.fa.fa-key(style="color: #e25440;")
      |  ACLs
.grid
  .panel.panel-default
    .panel-heading.panel-title
      i.fa.fa-plus-circle(style="color: #e25440;")
      |  Create
    .panel-body.text-center
      form(
        ng-submit = 'ctrl.addAcl()'
      )
        .form-group
          ui-select(
            ng-model = 'ctrl.subject'
          )
            ui-select-match(
              placeholder = 'Choose a user'
            )
              div
                i.fa.fa-user
                |  {{$select.selected.email}}
            ui-select-choices(
              repeat = 'user in ctrl.users | filter:{ permission: "!admin" } | filter:$select.search'
            )
              div
                i.fa.fa-user
                |  {{user.email}}
        .form-group
          ui-select(
            ng-model = 'ctrl.object'
          )
            ui-select-match(
              placeholder = 'Choose an object'
            )
              div
                i(class = 'xo-icon-{{$select.selected.type | lowercase}}')
                |  {{$select.selected.name_label}}
            ui-select-choices(
              repeat = 'object in ctrl.objects | selectHighLevel | filter:$select.search | orderBy:["type", "name_label"]'
            )
              div
                i(class = 'xo-icon-{{object.type | lowercase}}')
                |  {{object.name_label}}
                span(ng-if="(object.type === 'SR' || object.type === 'VM') && object.$container")
                  |  ({{(object.$container | resolve).name_label}})
        button.btn.btn-success
          i.fa.fa-plus
            |  Create

  .panel.panel-default
    .panel-heading.panel-title
      i.fa.fa-street-view(style="color: #e25440;")
      |  Manage
    .panel-body
      table.table.table-hover
        tr
          th User
          th Object
          th Action
        tr(ng-repeat = 'acl in ctrl.acls')
          td {{ctrl.usersById[acl.subject].email}}
          td {{(acl.object | resolve).name_label}}
          td
            button.btn.btn-sm.btn-danger(ng-click = 'ctrl.removeAcl(acl.subject, acl.object)')
              i.fa.fa-trash

{'fraction_non_alphanumeric': 0.1361182820934053, 'fraction_numerical': 0.0077446608777282325, 'mean_word_length': 1.3264192139737991, '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': '802246', 'n_tokens_mistral': 1343, 'n_tokens_neox': 1290, 'n_words': 206}