LooT Manuals
Deutsch

Tenants

List, create, rename and delete tenants with loot tenant, and set the demo marker and the AI settings of a tenant.

What a tenant is#

A tenant is a self-contained area of a LooT installation: it has its own nodes, members, groups and permissions. Every path starts with the name of a tenant (Brewery/Plant.Line1). Users can be members of several tenants.

Two roles matter for the commands on this page:

  • System admins administer the whole installation. Only they create and delete tenants.
  • Tenant admins manage the members, groups and permissions of a tenant and have all permissions there. Whoever creates a tenant becomes a member and tenant admin in the same step.

You manage members and groups in the web interface (tenant administration); permissions can also be granted by command (Permissions).

CommandPurposeWho may
loot tenant listList tenantsall signed-in users
loot tenant createCreate a tenantsystem admins
loot tenant renameRename a tenanttenant admins and system admins
loot tenant deleteDelete a tenantsystem admins
loot tenant demoSet or remove the demo markersystem admins
loot tenant aiShow and change the AI settingssee the command

loot tenant list#

Lists the tenants you may see.

text
loot tenant list
console
$ loot tenant list
Id  Name         Demo
--  -----------  ----
7   Brewery
12  Distillery
15  Tutorial     ja
ColumnMeaning
IdNumber of the tenant. You can give it instead of the name wherever <tenant> is described as "name or id".
NameName of the tenant
Demoja (yes) if the tenant is marked as a demo tenant

loot tenant create#

Creates a tenant. Only system admins may do this.

text
loot tenant create <name>
ArgumentMeaning
<name>Name of the new tenant. It may be at most 200 characters long, must not contain . or / and must not start or end with a space.
console
$ loot tenant create "Brewery"
Tenant 'Brewery' angelegt (Id 7); du bist dort Mitglied und Tenant-Admin.

Afterwards you are a member and tenant admin of the new tenant. If you do not want that, appoint someone else as admin and leave the tenant in the web interface.

loot tenant rename#

Renames a tenant. The paths of all nodes change accordingly; nodes, values and permissions stay as they are.

text
loot tenant rename <tenant> <new-name>
ArgumentMeaning
<tenant>Current name of the tenant
<new-name>New name; the same rules apply as when creating
console
$ loot tenant rename Brauerei "Brewery"
Tenant 'Brauerei' heißt jetzt 'Brewery'.

loot tenant delete#

Deletes a tenant. Only system admins may do this.

text
loot tenant delete <name> [--recursive] [--no-wait]
Argument or optionMeaning
<name>Name of the tenant
--recursiveAlso deletes all nodes together with their values. Without this option the server refuses to delete while the tenant has content (a conflict message). An empty tenant can be deleted without it.
--no-waitDoes not wait for the end of a deletion in the background

Small tenants are deleted at once. Large content is deleted by the server in the background: the actual work continues on the server. loot then shows the deletion and its progress and waits until the end, unless you give --no-wait.

console
$ loot tenant delete Distillery --recursive
Löschung 31 gestartet: Distillery wird im Hintergrund gelöscht (48210 Nodes).
2400/48210 Nodes, 9120000 Werte
17800/48210 Nodes, 70410000 Werte
Gelöscht: Distillery (48210 Nodes, 190300000 Werte).
console
$ loot tenant delete Distillery --recursive --no-wait
Löschung 31 gestartet: Distillery wird im Hintergrund gelöscht (48210 Nodes).
Stand abfragen: loot deletion show 31

loot deletion show shows the state of a running deletion.

loot tenant demo#

Sets or removes the demo tenant marker. Only system admins may do this. Demo tenants serve learners and prospects who try out LooT (see learning mode): new users of the installation automatically become members of the tenant and of the group Lernende (learners).

text
loot tenant demo <tenant> (--on | --off)
Argument or optionMeaning
<tenant>Name or id of the tenant
--onMark as a demo tenant: new users become members and members of the group "Lernende"
--offRemove the marker; the group and the members remain

Give exactly one of the two options, otherwise the command ends with exit code 2.

console
$ loot tenant demo Tutorial --on
Tenant 'Tutorial' ist Demo-Tenant: neue Benutzer werden Mitglied und Mitglied der Gruppe 'Lernende'.
$ loot tenant demo Tutorial --off
Tenant 'Tutorial' ist kein Demo-Tenant mehr; Gruppe und Mitglieder bleiben.

The Demo column of loot tenant list shows the state.

loot tenant ai#

Shows or changes the AI analysis settings of a tenant (forecasts and questions to a language model). Without options the command only shows them.

text
loot tenant ai <tenant> [--enable | --disable] [--allow <capability>=<model>,…] [--default <capability>=<model>]
Argument or optionMeaningWho
<tenant>Name or id of the tenant
--enableEnable the AI analysis for the tenantsystem admins
--disableDisable the AI analysis for the tenantsystem admins
--allow <capability>=<model>,…Allowed models of a capability, for example forecast=chronos-2,timesfm-2.5. Empty (forecast=) allows all models in operation.system admins
--default <capability>=<model>Default model of a capability, for example forecast=chronos-2. Empty (forecast=) resets it.tenant admins

--enable and --disable exclude each other. --allow and --default can be repeated to change several capabilities. There are two capabilities: forecast (forecasts, see loot forecast) and chat (questions to a language model, see loot ask). loot forecast models and loot ask models show which models exist.

console
$ loot tenant ai "Brewery" --enable --allow forecast=chronos-2,timesfm-2.5 --default forecast=chronos-2
KI-Analyse: aktiv
Fähigkeit  Erlaubte Modelle          Standardmodell
---------  ------------------------  --------------
forecast   chronos-2, timesfm-2.5    chronos-2
chat       alle betriebenen          –

For members to use the AI analysis, the tenant also needs the permissions use forecasts and ask AI granted to them; you grant them with loot permission grant (--rights forecast,chat). If the AI analysis is not enabled for the tenant, the server rejects the commands with a notice.

A product of Rheinwert Datentechnik · rheinwert.deVersion: LooT 0.9.10