{{template "base" .}} {{define "title"}}{{.Title}}{{end}} {{define "extra_css"}} {{end}} {{define "page_body"}}
{{.Title}}
{{if .Error}}
{{.Error}}
{{end}} {{if eq .Mode 3}}
Create and save one or more new users or generate a data provider independent JSON file to import.
The following placeholders are supported:

  • %username% will be replaced with the specified username
  • %password% will be replaced with the specified password
The generated users file can be imported from the "Maintenance" section. {{if .User.Username}}
Please note that no credentials were copied from user "{{.User.Username}}", you have to set them explicitly. {{end}}
{{end}}
{{if eq .Mode 3}}
Users
For each user set the username and at least one of the password and public key
{{else}}
{{end}} {{if ne .Mode 3}}
Public keys
{{range $idx, $val := .User.PublicKeys}}
{{else}}
{{end}}
{{end}} {{template "fshtml" .FsWrapper}} {{if .VirtualFolders}}
Virtual folders
Quota -1 means included within user quota, 0 unlimited. Don't set -1 for shared folders
{{range $idx, $val := .User.VirtualFolders}}
Quota size (bytes)
Quota files
{{else}}
Quota size (bytes)
Quota files
{{end}}
{{end}}

Allow to impersonate this user, in REST API, with an API key
Optional description, for example the user full name
Free form text field

Per-directory permissions
{{range $idx, $dirPerms := .User.GetSubDirPermissions -}}
{{else}}
{{end}}
Per-directory pattern restrictions
Comma separated denied or allowed files/directories, based on shell patterns.

Denied entries are visible in directory listing by default, you can hide them by setting the "Hidden" policy, but please be aware that this may cause performance issues for large directories

{{range $idx, $pattern := .User.GetFlatFilePatterns -}}
{{else}}
{{end}}
Maximun number of concurrent sessions. 0 means no limit
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"

0 means no limit
0 means no limit
Maximum upload size for a single file. 0 means no limit
0 means no limit
0 means no limit
Per-source bandwidth limits
{{range $idx, $bwLimit := .User.Filters.BandwidthLimits -}}
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
UL (KB/s). 0 means no limit
DL (KB/s). 0 means no limit
{{else}}
Comma separated IP/Mask in CIDR format, for example "192.168.1.0/24,10.8.0.100/32"
UL (KB/s). 0 means no limit
DL (KB/s). 0 means no limit
{{end}}

Defines the TLS certificate field to use as username. Ignored if mutual TLS is disabled
Disable checks for existence and automatic creation of home directory and virtual folders

{{if eq .Mode 2}}
This way you force the user to login again, if connected, and so to use the new configuration
{{end}}
{{if eq .Mode 3}} {{end}}
{{end}} {{define "extra_js"}} {{end}}