Skip to main content

Users

loch users manages the panel users. Admin only. A restricted user only sees and manages the containers it was granted.

Commands​

CommandDoes
loch users lsLists the users.
loch users grant <email> <container...>Gives access to one or more containers.
loch users revoke <email> <container...>Removes access to one or more containers.
loch users promote <email>Makes the user an admin.
loch users demote <email>Makes the user restricted.
loch users rm <email>Deletes the user.
loch users grant alice@example.com myapp-web-1 myapp-php-1
loch users revoke alice@example.com myapp-php-1
loch users promote bob@example.com

Permissions​

CommandScopeAdmin
users …None: only the profile of the key's user is checkedYes
domainsNone: only the profile of the key's user is checkedYes

Good to know​

  • loch domains lists the Traefik domains and their routing.
  • A key carries the profile of its user: an admin scope on a restricted user's key grants nothing.
  • A key can only create keys within its own scopes.
  • Function containers (fn-*) cannot be granted to a user.