{{template "base" .}} {{define "title"}}{{.Title}}{{end}} {{define "extra_css"}} {{end}} {{define "page_body"}}
{{.Title}}
{{if .Error}}
{{.Error}}
{{end}} {{if eq .Mode 3}}
Generate a data provider independent JSON file to create new users or update existing ones.
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}}
Optional description, for example the user full name
{{if ne .Mode 3}}
Public keys
{{range $idx, $val := .User.PublicKeys}}
{{else}}
{{end}}
{{end}}
Defines the TLS certificate field to use as username. Ignored if mutual TLS is disabled
{{template "fshtml" .User.FsConfig}} {{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}}
Per-directory permissions
{{range $idx, $dirPerms := .User.GetSubDirPermissions -}}
{{else}}
{{end}}
Disable checks for existence and automatic creation of home directory and virtual folders
0 means no limit
0 means no limit
0 means no limit
0 means no limit
0 means no limit
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"
Per-directory file patterns
Comma separated denied or allowed files, based on shell patterns
{{range $idx, $pattern := .User.GetFlatFilePatterns -}}
{{else}}
{{end}}
Free form text field
{{if eq .Mode 2}}
This way you force the user to login again, if connected, and so to use the new configuration
{{end}}
{{end}} {{define "extra_js"}} {{end}}