{{template "base" .}} {{- define "page_body"}}

{{- if eq .Mode 3}}

Create one or more new users from this template

The following placeholders are supported

  • %username%, replaced with the specified username
  • %password%, replaced with the specified password

Placeholders will be replaced in paths and credentials of the configured storage backend.

The generated users can be saved or exported. Exported users can be imported from the "Maintenance" section of this SFTPGo instance or another.

{{- end}} {{- template "errmsg" .Error}}
{{- if eq .Mode 3}}

Users

For each user set the username and at least one of the password and public key

{{- else}}
{{- end}} {{- if .Roles}}
Users with a role can be managed by global administrators and administrators with the same role
{{- end}} {{- if ne .Mode 3}}

Public keys

{{- template "infomsg-no-mb" "general.pub_keys_help"}}
{{- range $idx, $val := .User.PublicKeys}}
{{- else}} {{- end}}

TLS certificates

{{- template "infomsg-no-mb" "user.tls_certs_help"}}
{{- range $idx, $val := .User.Filters.TLSCerts}}
{{- else}} {{- end}}
{{- end}} {{- if .Groups}}

Groups

{{- template "infomsg" "user.groups_help"}}
{{- end}} {{- template "fshtml" .FsWrapper}} {{- if .VirtualFolders}}

Virtual folders

{{- template "infomsg-no-mb" "user.virtual_folders_help"}}
{{- range $idx, $val := .User.VirtualFolders}}
{{- else}}
{{- end}}
{{- end}}

{{- template "user_group_profile" .User.Filters}}

Per-directory permissions

{{- template "infomsg-no-mb" "filters.directory_permissions_help"}}
{{- range $idx, $dirPerms := .User.GetSubDirPermissions -}}
{{- else}}
{{- end}}
{{- template "user_group_perms" .User.Filters}} {{- template "user_group_access_time" .User.Filters}}

{{template "user_group_quota" .User}}

{{template "user_group_advanced" .User.Filters}}
{{- if eq .Mode 2}}
{{- end}}
{{- if eq .Mode 3}} {{- end}}
{{- end}} {{- define "extra_js"}} {{- end}}