@if (post) {
{{ t('Users') }} @if (!isLdapUser) { {{ t('Edit local user:') }} } @if (isLdapUser) { {{ t('Edit LDAP user:') }} } {{ post.firstname }}, {{ post.lastname }}
@for (userType of userTypes; track $index) { {{ userType.title }} }
@if (isLdapUser) {
@if (!userContainerRolesReadonly) { } @if (userContainerRolesReadonly) { {{ t('Restricted view') }} }
{{ t('Automatically assigned container roles based on the LDAP groups of the current user.') }}
} @for (userContainerRoleLdap of userContainerRoleContainerPermissionsLdap; track $index) { {{ userContainerRoleLdap.path }} @if (selectedUserContainers.indexOf(userContainerRoleLdap._joinData.container_id) !== -1 || selectedUserContainerRolesContainerIds.indexOf(userContainerRoleLdap._joinData.container_id) !== -1) { }
@for (userRole of userContainerRoleLdap.user_roles_array; track $index) { @if (PermissionsService.hasPermissionObservable(['usercontainerroles', 'edit'])|async) { {{ userRole.name }} } @else { {{ userRole.name }} } }
} @if (selectedUserContainerRolesLdapReadOnly.length > 0 && ( post.usercontainerroles._ids.length > 0 || selectedUserContainers.length > 0 )) { {{ t('The user permissions will be extended or adapted with additional user roles or containers') }} }
@if (!userContainerRolesReadonly) { } @if (userContainerRolesReadonly) { {{ t('Restricted view') }} }
@if (isLdapUser) { {{ t('Container Roles are handy to grant the same permissions to multiple users. Container Roles will overwrite automatically assignments via LDAP groups.') }} } @else { {{ t('Container Roles are handy to grant the same permissions to multiple users.') }} }
@for (userContainerRole of userContainerRoleContainerPermissions; track $index) { {{ userContainerRole.path }} @if (selectedUserContainers.indexOf(userContainerRole._joinData.container_id) !== -1) { }
@for (userRole of userContainerRole.user_roles_array; track $index) { @if (PermissionsService.hasPermissionObservable(['usercontainerroles', 'edit'])|async) { {{ userRole.name }} } @else { {{ userRole.name }} } }
} @if (post.usercontainerroles._ids.length > 0 && selectedUserContainers.length > 0) { {{ t('The user permissions will be extended or adapted with additional containers') }} }
{{ t('Container assignments defined in the user will overwrite permissions inherited from Container Roles!') }}
@for (userContainer of selectedUserContainerWithPermission; track $index) { {{ userContainer.container_name }}
} @if (isLdapUser) {
}
@if (isLdapUser) {
{{ t('Fall back user role that is used by the system, when no user role assignment through LDAP is possible.') }}
}
@if (isLdapUser) {
{{ t('Username for the login') }}
{{ t('Value imported from LDAP Server') }}
{{ t('Connected LDAP server') }}: {{ ldapConfig?.host }}
{{ t('Used filter query') }}: {{ ldapConfig?.query }}
{{ t('Base DN') }}; {{ ldapConfig?.base_dn }}
}
@if (isLdapUser) {
{{ t('Value imported from LDAP Server') }}
}
@if (isLdapUser) {
{{ t('Value imported from LDAP Server') }}
}
@if (isLdapUser) {
{{ t('Value imported from LDAP Server') }}
}
@if (isLdapUser) {
{{ t('Value imported from LDAP Server') }}
}
@if (isLdapUser) {
{{ t('Value imported from LDAP Server') }}
}
{{ timezone.name }}
{{ t('Server timezone is:') }} {{ serverTimeZone }}. {{ t('Current server time:') }} {{ serverTime }}
{{ t('Manual logout and login again required for changes to take effect for the current user.') }}
{{ t('These options are community translations. Feel free to extend them and open a github pull request.') }}
@if (post && ( !isLdapUser && !post.is_oauth )) {
{{ t('The password must consist of 6 alphanumeric characters and must contain at least one digit') }}
}

{{ t('Api keys') }}

@if (post) { @for (apiKey of post.apikeys; track $index) {
{{ t('Last used:') }} @if (apiKey.last_use === null) { {{ t('never') }} } @if (apiKey.last_use !== null) { {{ apiKey.last_use }} }
} }
}