{{#if isAuthProviderKeycloak}} {{#if syncInProgress}}
Keycloak user sync running...
{{else}}
Sync with Keycloak
{{/if}} {{/if}} {{#if isAuthProviderLDAP}} {{#if syncInProgress}}
LDAP user sync running...
{{else}}
Sync with LDAP
{{/if}} {{/if}}
Spaces   — can add spaces, both personal and shared with others
Visible   — can see names of users and groups, can disable for external users like customers/partners
Admin   — can manage all aspects of Documize, like this screen
Analytics   — can view analytical reports
Active   — can login and use Documize
{{focus-input type="text" class="form-control" placeholder="filter users" value=filter}} search firstname, lastname, email
{{#attach-tooltip showDelay=1000}}Number of users to display{{/attach-tooltip}}
{{#each users key="id" as |user|}} {{/each}}
{{#if hasSelectedUsers}} {{/if}} Spaces Visible Admin Analytics Active
{{#if user.me}} check_box_outline_blank {{else if user.selected}} check_box {{else}} check_box_outline_blank {{/if}}
{{user.fullname}}
{{#each user.groups as |group|}} {{group.name}}{{#if (not-eq group user.groups.lastObject)}}, {{/if}} {{else}} <no groups> {{/each}}
{{#if user.editor}} check_box {{else}} check_box_outline_blank {{/if}} {{#if user.viewUsers}} check_box {{else}} check_box_outline_blank {{/if}} {{#if user.me}} check_box {{else if user.admin}} check_box {{else}} check_box_outline_blank {{/if}} {{#if user.analytics}} check_box {{else}} check_box_outline_blank {{/if}} {{#if user.me}} check_box {{else if user.active}} check_box {{else}} check_box_outline_blank {{/if}}
mode_edit {{#attach-tooltip showDelay=1000}}Edit user{{/attach-tooltip}}
{{#unless user.me}}
delete {{#attach-tooltip showDelay=1000}}Delete user{{/attach-tooltip}}
{{/unless}}
{{#ui/ui-dialog title="Delete User" confirmCaption="Delete" buttonType="btn-danger" show=showDeleteDialog onAction=(action "onDelete")}}

Are you sure you want to delete {{deleteUser.fullname}}?

{{/ui/ui-dialog}}