Access Entries
An access entry is one stored way into a machine: an SSH, RDP or VNC login, a web
console, a VS Code folder or a WSL distribution, with the user name and optionally a stored
password. Earlier releases called them connections; the
/api/connections routes are gone (see the API). Every entry hangs on one
host, and the host owns the rest of what it takes to reach the machine: its
addresses, shares and how it is reached, described on
Hosts and Access Entries. The server keeps the records, decides who may
see, change and copy them, decides how each can be opened, and writes down what was done.
What an entry holds, by protocol:
| Protocol | Fields |
|---|---|
ssh | an address of the host, port (22), user name, password, an optional VS Code start folder |
rdp | an address of the host, port (3389), user name, password, domain |
vnc | an address of the host, port (5900), user name, password |
web | a URL (http or https), user name, password, domain, a quicklink switch |
vscode | a local folder (on a local host), or on a vscode host a remote project: SSH address, port (22), user name, password and the remote folder |
wsl | a WSL distribution and a folder (on a local host) |
Every entry can carry an icon of its own, so an SSH, an RDP and a web entry of one host can be told apart. An entry has no name, no tags, no colour, no notes and no folder: those belong to its host. Jump hosts and SSH options are gone; what a host needs to be reached through another machine is its reachability.
An entry belongs to one customer, the customer of its host, and a person's private customer is a customer like the others, with a single owner. Every customer has them, whether or not it is managed (see Managed and not managed customers), and an access entry is not a monitored host: nothing here appears in the overview, in alerts or in reports.
Who may do what
Two permissions, held per grant, decide:
| Permission | Allows |
|---|---|
Edit access entries (connection.edit) | Create, change and delete the customer's access entries, and the addresses, shares and reachability of its hosts; create, rename, move and delete link hosts and hosts without an agent; set the tags and colour of any host; manage its folders and access entry notes; restore from and empty its trash. |
Copy stored passwords (connection.reveal) | Copy the password stored with an access entry. |
Opening a host over the network is a third permission, access.tunnel; see
Opening a host.
- Neither comes with a role. A manager or operator who has been granted a customer can read its access entries, masked, and does nothing else until a grant says more. Two templates tick the usual sets: Access entry user (copy passwords) and Access entry editor (edit and copy).
- Administrators edit everywhere and copy passwords everywhere, with one exception
they cannot lift for themselves: a customer can be set to hide its passwords from
administrators (
connectionAdminReveal,PATCH /api/customers/{id}, administrators only). An administrator then needsconnection.revealon a grant of that customer, like anybody else. - In a private customer the owner holds every permission whatever their role says, and nobody else holds any permission there: not an administrator, and not a token, not even the owner's own API or command line token.
- Viewers see no access entries and no link hosts at all: the routes answer
404, and the host data (addresses, shares) is withheld too, because it can hold internal names and user names. A browser in customer view keeps the entries of the customer it is narrowed to, and sees no other customer's. A viewer with the desktop app's token is refused with403. - A script's API or command line token may read the masked list (
GET /api/access-entries) and nothing else of this: no change, no password, no tunnel. The list holds customers' entries only: a script's token carries no private customer, not even its owner's, so the list never holds one.
Rights are read on every request, so a change to a grant applies to the next call.
Who can copy is visible. The customer's Users tab in the dashboard lists every account
that can copy a stored password or edit access there, administrators included, worked out
the way the routes work it out: an account with a grant that holds neither permission is not
listed, an administrator is listed with copy unless the customer withdrew it and a grant
gave it back, and nobody's private entries are part of it. The same card carries the
switch for connectionAdminReveal; it is saved at once, and an audit entry Customer changed
records it.
Opening a host
What Connect does is decided in one place on the server, from the host's kind, its paths, the entry's protocol and what the host's agent allows. The menu in the dashboard, the quick access window, the desktop app and the server's own check when you open something all use that decision, so the menu cannot offer what the server then refuses. There are two ways to open an entry:
- In the browser. RDP, VNC and SSH open in a window of their own through the dashboard's guacd
(Remote Desktop), and a web entry opens in a new tab. The browser takes the agent
path, and the tunnel host path only when the agent path is blocked by the state of the agent (offline, not
approved, too old, or the
desktopaction off). SSH is a real login with the stored entry. The shell of an agent host is a separate item, the web terminal. - In the desktop app. The app starts the client you have installed. A click opens the direct
path: the app dials the address itself and the dashboard is not involved, so it is never blocked by the
agent, the
desktopandtunnelactions or the tunnel right. The right-click menu adds Connect via agent (the host has an agent) and Connect via tunnel host (the host's tunnel switch is on). Those first ask the dashboard to open a tunnel (see Tunnels) and point the client at a port on your own computer. The app has no terminal.
| Host | Paths | In the browser | In the desktop app |
|---|---|---|---|
| with an agent | direct, via agent | RDP, VNC and SSH through its own agent (the desktop action) | a click: the address itself; right-click: through its own agent |
| with an agent and the tunnel switch on | direct, via agent, via tunnel host X | through the agent, through X when the agent is blocked | a click: the address itself; right-click: through the agent or through X |
| without an agent, switch on | direct, via tunnel host X | RDP, VNC and SSH through X | a click: the address itself; right-click: through X |
| without an agent, switch off | direct | cannot be opened | the address itself |
| web link | direct | the URL in a new tab, copy user name and password | the URL in the default browser, copy |
| local | direct | not offered | local VS Code or WSL |
| VS Code (remote) | direct | Open in VS Code (hands over to the app), copy user name and password | VS Code Remote-SSH to user@address:port with the folder |
| network device | direct | no entries | no entries |
- Web entries. The browser always opens a URL as typed. The desktop app opens a web entry of a host through its own agent or a tunnel host (the right-click paths), through that agent, by a local address, which is best effort: a page that insists on its own host name may not work.
- Shares are never tunnelled: the browser copies the path and the app opens it.
- Open in VS Code on an SSH entry is the desktop app only and goes the same way as the entry's SSH route.
- Copy SSH command is the command for the direct path, because through an agent the address is not the one the client can reach. It is offered whenever the entry has an address.
Why an item is greyed out
The Connect menu shows what the host has. An item that cannot be used is greyed with the reason; an item for a route that does not exist is left out. The reason is the code the server would answer with:
| Code | What it means for you |
|---|---|
no_rights | You may not open network connections for this customer (access.tunnel). |
offline | The agent that carries this access entry is offline. |
waiting_for_enrollment | The host's agent has not been approved yet. |
desktop_not_allowed | The desktop action is off on this host's agent. Enable it under Allowed actions; a person who holds actions.manage gets a link there. |
agent_outdated | This host's agent is too old for this access entry (it needs 3.2.0 or later). Update the agent. |
tunnel_not_allowed | The tunnel host does not allow tunnels (its tunnel action or tunnel.allow). |
no_agent | The host has no agent, so the agent path does not exist. |
tunnel_off | The host's tunnel switch is off, so the tunnel host path does not exist. |
tunnel_host_required | The tunnel switch is on, but the chosen tunnel host is missing or no longer one. Choose a tunnel host on the Access tab. |
no_browser_route | The host has neither an agent nor a tunnel host, so it opens in the desktop app only. Give it a tunnel host to open it in the browser. Hidden in the menu; the Access tab says so. |
guacd_unavailable | The remote desktop service is not reachable. |
tunnel_not_needed | The path is the direct one; the desktop app opens it itself. |
Two things the dashboard cannot know are reported when the session is opened instead: a tunnel host
whose tunnel.allow does not cover the address (target not allowed), and an address nothing listens on
(connection refused, connect timeout).
What opening needs
- Rights. Every open over the network needs
access.tunnelat the customer, also through the host's own agent. A web link, a local folder and an address opened directly by the app need no server right: the host has to be visible. Copying a password needsconnection.reveal. - Reason and approval. The customer's policies apply once per launch, whether it goes through a tunnel host or the host's own agent. They do not apply to a direct open or to copying a password, because the server is not in the path.
- Credentials. A browser session opens RDP, VNC and SSH with the stored password only if the account may
copy passwords at the customer (
connection.reveal); otherwise the window asks for the user name and password, and nothing is stored. The password never reaches the browser. - The audit log.
tunnel.openandremote.openname the entry and its host, and carry how the host was reached; see Audit Log.
SSH host keys
An SSH session in the browser goes through guacd, which on its own accepts any key. Selvara therefore checks the host key itself, with trust on first use and an explicit confirmation:
- The first time an entry is opened in the browser the window shows the host key's algorithm and SHA-256 fingerprint and asks you to confirm it before anything is sent to the host, the stored password included. The key is then stored with the entry. Nothing is stored if you reject it or do not answer within 60 seconds, and the session does not open.
- The same key opens without a question.
- A different key is shown with the old and the new fingerprint, with a clear warning, and asks whether to
overwrite the stored one. Without your confirmation the session does not open. Overwriting is audited
(
access.host_key_replace, andaccess.host_key_confirmfor the first key). - Changing the address or port of the entry clears the stored key, because it may now be another machine.
- A session whose stream is not SSH 2 or sends no host key ends with host key unreadable.
The check applies to SSH opened in the browser, whether it goes through the host's own agent or a tunnel host. The desktop app
starts your own SSH client, which keeps checking known_hosts as before; see
Tunnels.
In the dashboard
There is no separate access entries tool: access is shown where it belongs, on the host
and on the customer, and the desktop app shows the same data. This is for administrators,
managers and operators. A customer's own login sees no access entries, and the pages and
routes answer 404. Customer view narrows the customers a
browser reaches and nothing more: the entries of the chosen customer stay, which is what it is
for on site, and nobody else's are shown.
-
On the host. A host's page has an Access tab, and Connect on a row of the hosts list opens the host's menu; see The inventory in the browser. Old
?tab=connectionsaddresses lead to the Access tab. -
The Access tab of a host with or without an agent has one card for each kind of data:
- Access entries, with Add access, a row per entry (icon,
user@address:portor the URL, a key when a password is stored, favourite and pin, a menu with the open items, copy user name and password, history, duplicate, edit and delete) and, under Recently deleted, the entries that were deleted on their own, with Restore. A row whose address the agent no longer reports shows no longer reported; it still opens. - Addresses: the reported ones (read-only) and the manual ones, with the entries that use each.
- Shares, with
{host}and{user}explained. A web page of the host is a web access entry in the list above, with an optional name and the quicklink switch. - Reachability: the three paths. Direct is always possible, via agent shows whether the host has an agent
(with a warning when the
desktopaction is off), and via tunnel host is a switch with a choice of the customer's tunnel hosts. A host with neither an agent nor a tunnel host gets a banner that it opens in the desktop app only. - Migration notices, for a host the migration to this model could not map completely, each dismissable; see Upgrading.
Without
connection.editthe buttons are absent and the rows read-only. - Access entries, with Add access, a row per entry (icon,
-
Link hosts show one form on their Access tab instead of the cards: for a web link the name, URL, user name, password, domain, icon and quicklink switch; for a local host the name, VS Code or WSL, the folder, the distribution and the icon; for a remote VS Code project the name, the SSH address and port, the user name, the password, the remote project folder and the icon. Below it are the tags, the colour and the folder.
-
Adding a host. Add host in the hosts list asks first whether the host has an agent, and for one without which kind: Host (a machine, to which you then add access), Web link, Local VS Code or WSL or VS Code (remote).
-
On the customer. A customer's Hosts tab (
/customers/{id}; your own private customer is a customer like the others) lists its hosts by folder and holds the customer's trash below the list. The customer's Notes tab holds what the team wrote down about reaching it. -
In the hosts list every host has a kind icon, a colour from its host, and a small count of its access entries whose tooltip lists the protocols; link hosts show their address. The search finds a host by its name and hostname and by what opens it: its addresses, shares, and the addresses, URLs, names and user names of its entries. Hosts can be filtered by kind (including Web link and Local), by protocol, tag and favourites, and sorted by name. Connect is a button in each row.
-
Quick access is a window of its own, opened from the button next to the customer choice in the header. It follows the customer chosen there, and its search text, and holds the Quicklinks of that customer (a board of the web entries marked as quicklinks, grouped by the folder of their host and with the host's name under each card), your Favourites and what you opened Recently, of the chosen customer or of all of them. A favourite or recent row opens the desktop app, and where the server allows it also offers open in browser. It is fed by the
connections.hostQuicktopic (see Live screens). -
Old addresses keep working.
/connectionsleads to the hosts list, or with?c=to that customer's page (?c=privateto your own private customer);/linksand everything below it lead to the hosts list, and?tab=connectionson a customer's page to its Hosts tab./connections/iconsand/connections/usagelead to the settings pages below. -
Copying a password. When your sign-in is older than 15 minutes the browser first asks you to confirm it is you. It then fetches the password on the click, writes it to the clipboard and forgets it. The page tries to empty the clipboard after 30 seconds; it cannot tell whether something else was copied meanwhile, and the browser may refuse the write once the tab is in the background, so this is best effort. The password is not shown anywhere, the edit dialog included: it can set, replace or clear it.
-
The access entry dialog has the protocol (fixed once the entry exists), the address (a list of the host's addresses, with Add address… at the end, which creates the address first), or the URL for a web entry, the port, user name, password, domain (RDP and web only), the VS Code start folder (SSH only), the icon and, for web, the quicklink switch. It has no name, tags, colour, notes or host chooser: it is opened on its host. A change made by someone else while it is open is reported as a version conflict, with a reload.
-
Tags and colour are the host's: a tag keeps the case it is typed in, because its colour follows from its text, and the host's colour tints its rows everywhere. They are edited in the host's edit dialog, and a person with
connection.editcan set them for a host with an agent through the API as well. -
Hosts that look like the same machine are listed above the hosts, each with Merge into….
-
Selecting several hosts (the checkbox, Shift for a range, Ctrl or Cmd with a click) shows the bar the hosts list has: move to a folder, tags (add, remove, replace), colour, move to another customer, delete and the actions that need an agent, which are disabled when the selection holds a link host.
-
Trash (the customer's Trash section) restores and removes for good: hosts that were deleted, with the entries that were deleted with them, entries deleted on their own, and folders.
-
Delete all access entries in a customer's list (a private customer's too,
POST /api/access-entries/delete-all) moves every one of them to the trash in one step, however many there are, and the audit log gets one entry for it. It is the way to empty a customer before it is deleted; the customer list explains this when a deletion is refused because entries remain, trash included. -
Icons (administrators, Access & rights, Icons) is the library of images an access entry can use besides the built-in icons: PNG, JPEG or WebP up to 512 KB, accepted by what the file contains, not by its name. Uploading a file under a name that exists replaces the image, so a logo is updated by uploading it again (it shows at once: icons are revalidated on every use, not cached for a day). Deleting one makes the entries that use it show their protocol's icon.
-
Usage (administrators) is described in Who uses what.
Passwords
A stored password is encrypted with the instance's key, bound to its access entry, so a
copy of the ciphertext on another row opens nothing. An entry keeps its id for its whole life (so do the entries
that were connections before 3.4.0), and duplicating one opens the password with the old id and seals it again under the new one. It is never shown: lists, the
live screens and the audit log say only that a password exists. The one way out is
POST /api/access-entries/{id}/credential, and it works like this:
- The caller has
connection.revealfor the customer (or owns the private customer), and the entry is not in the trash. - In a browser, the account confirmed who it is within the last 15 minutes (the dashboard asks
for the password again, and the second factor where the account has one); otherwise the answer
is
403 reauth_required. The desktop app has to be unlocked, otherwise423 locked(or423 pin_requireduntil an app PIN is set); a locked app is told so before anything else, so it learns nothing about which entries exist. - At most 30 copies per minute for one person and entry, and 120 per ten minutes
across all of them (
429 rate_limited, withRetry-After). The counters live in Redis; while Redis cannot be reached the answer is503 rate_unavailablerather than no limit. - The password is opened in memory and the audit entry is written before it is returned. If the entry cannot be written, no password is returned. A password that cannot be opened (a wrong key) is recorded as a failed attempt, not as a copy.
- The password comes back with
Cache-Control: no-store.
A refusal for an entry the caller can see (no permission, a locked app, a stale sign-in, a
script's token, a limit) is written to the customer's audit log as a denied entry, so a run of
refused attempts leaves a trace. An entry the caller cannot see answers 404 and records
nothing.
Copying 20 or more different passwords of customers within ten minutes (passwords of the person's own private customer do not count) writes one Many passwords copied in a short time entry and shows a tile on the home page for administrators for a day.
A customer's policies (reason, approval) apply to launches through a tunnel host or the host's own agent, not to copying a password or to connecting directly: the server is not in the path of a direct connection. An entry Access entry opened is what the client reports, not proof; Stored password copied is written by the server and is authoritative.
In the desktop app
The Remote Connection Manager shows the same customers, folders, hosts and access entries as the dashboard and follows the server the same way: nothing is refreshed by hand, and a change made in the browser appears in an open window. The app and the dashboard are updated together: an app from before 3.4.0 finds the old routes gone and has to be updated at once.
- The tree is customer, folder, host, access entries. A host with an agent or without one expands to its entries; a web link or a local folder is one row with its single entry. A host's menu also lists its shares, and Open host in Selvara.
- What the app edits. It edits access entries, and it creates, renames, moves, trashes and deletes
link hosts (web links, local VS Code or WSL targets and remote VS Code projects), because the host and its one entry are saved as
one unit (
/api/links). It does not edit what a real host owns: addresses, shares, reachability, tags, colour and notes are shown read-only, and Edit host in Selvara opens the Access tab of the host in the browser, because those routes are for browser sessions only. - Opening follows Opening a host. A click opens the direct path, which the app does itself;
the right-click entries for the agent and the tunnel host start the
selvarahelper first (with--path), so the reason and the approval are settled before the client starts. A linkrcm://connect/<id>?path=agentor?path=tunnelasks for one of those paths; withoutpathit is direct. The server's refusal is shown in the app's language. - Rows that cannot be launched. An entry whose address, user name, domain, folder path or URL fails the
launch checks (an address with a space, a share path with
%or&, a URL that is nothttporhttps) is marked Cannot be launched with the field that fails, instead of failing when it is clicked. A click says why and, for someone who may edit the entry, offers the editor. The checks protect the command line the app builds, so a value that fails is corrected, not forced. - Copy password appears for someone with the Copy stored passwords permission on the customer, and for an administrator unless the customer hides its passwords. Everyone else does not see the entry, and the server refuses it anyway.
- Editing an entry covers the same fields as the dashboard. The address is chosen from the host's addresses, which are added in the dashboard.
- Details. The details dialog follows the entry live: who changed it last, who used it last, and the host it belongs to with that host's state.
- Search. The search box takes words that must all match, and the operators
tag:,host:,user:,name:andtype:(tag:"on site"for a value with a space). The command palette (Ctrl or Cmd + P) searches every customer: customers whose hosts are not loaded in the window (the app keeps about 3,000 entries loaded and loads the rest when a customer is opened) are found by name, address, customer and tag from the short index, and opening one loads its customer first.rcm://connect/<id>links keep working: the id of every old connection is the id of its access entry, and the server resolves an id throughGET /api/link-targets/{id}. - Change PIN in Settings asks for the current PIN, then the new one twice (at least four characters). The server checks the current one like an unlock, so five wrong tries lock the app as at the lock screen. The dialog closes only after the server stored the new PIN; a refusal is shown in it and nothing changes.
- A session that ends while a window is open shows a banner asking to sign in again. Open dialogs and unsaved edits stay as they are, and a save that was refused is repeated once the new sign-in is in.
The desktop app's lock
The Remote Connection Manager asks for a PIN before it shows any access entry, host list or password. The PIN is kept on the server (hashed with scrypt), not on the computer, so a copied app or a stolen token alone reads nothing, and a copied device file cannot be guessed at offline.
- Setting it. Choose a PIN of at least 4 characters in the app when it first signs in, or
under Profile, Security, App PIN. Until one exists the app is locked
(
423 pin_required). Changing it in the app needs the current PIN; in the browser it needs a sign-in confirmed within the last 15 minutes. A lost PIN is reset in the browser, and that signs every app of the account out, each signing in again with its second factor. - Unlocking. The app unlocks for 15 minutes (the app may ask for up to 60) and extends the
window while it is used, never beyond 12 hours from the unlock. A lock, a sign-out or the end of
the window shuts the data off: routes answer
423 lockedand open screens stop receiving it. - Guessing. Five wrong PINs revoke that app's token (it signs in again through the browser), and twenty wrong PINs in an hour across an account's apps pause unlocking for 15 minutes. The audit log records wrong PINs, revoked tokens and PIN changes. A guess is counted before the PIN is checked, one at a time per account, so sending many requests at once buys no extra guesses, and a token that has just been revoked cannot be unlocked by a request already in flight. A guess a second per app is the pace; it is kept in Redis and the counters hold without it.
- A browser is not PIN-locked. It is protected by sign-in and second factor, and copying a stored password needs a confirmation within the last 15 minutes: the dashboard asks for the password again, and the second factor where the account has one.
What a locked app is still told is the number of open alerts, so that it can say "2 new alerts" in a notification; which alerts, and the bell's contents, wait for the PIN (see Alerts in the app).
The token's other limits (what it may call, how long it lasts) are in API Tokens; the routes are in the HTTP API.
Alerts in the app
The Remote Connection Manager also shows the alerts of the customers its account sees and tells you about new ones, so it can replace a browser tab left open for that. The bell button in the top bar carries the number of active alerts and opens the Alerts screen, which has two tabs.
- Alerts lists the active alerts, then the acknowledged ones, as the server pushes them: there is no refresh button. Acknowledge and Resolve call the same route as the dashboard, so the same roles may press them: a viewer sees the alerts and is told it may not act on them. Open in Selvara goes to the full alerts page.
- Inbox is the bell of the dashboard: what waits for a decision and the news, with Mark all read. Decisions (approving a job, an access request, an enrolled host) are made in the dashboard; the entry opens it on the right page.
Notifications. A new alert raises a native notification (Windows toast, the desktop's notification service on Linux, the notification centre on macOS), even while the window is in the tray, and clicking it brings the window forward and opens the panel. More than five at once become one "N new alerts". A notification is shown once: the app remembers per account what it announced, so a restart, a lost connection or a night of sleep neither repeats nor swallows one, and a first sign-in does not announce the backlog. The bell button on the Alerts screen turns notifications off for this account on this computer; the alerts still appear in the list.
While locked the app has no alert content: it knows only how many alerts are open. It shows that number on the lock screen and in the tray tooltip and menu, and a new alert is announced as "N new alerts" without naming the host or the customer. Names appear after the PIN. What was announced by count is not announced again by name.
The tray icon itself carries no number badge, because tray icons cannot show one on every platform; the count is in the tooltip and the first entry of the tray menu.
On Windows the first start of this version adds a Start menu shortcut named after the app, which Windows needs to show notifications from an unpackaged program. Deleting it is harmless: the app creates it again at the next start.
Private access
Every account has a private customer next to the customers. What is in it is visible to its owner alone, an administrator included:
- no list, search, detail, history, usage count, trash or export of anyone else's shows it, and no script token lists it, not even its owner's;
- changes announced to open screens go to the owner only;
- its audit entries are filed under the private customer and appear in no one else's audit view, export or webhook; the owner reads them as the entry's history;
- only the owner can copy a password from it, and it cannot be created or moved by someone else. A host moved out of the private customer to another customer needs the right to edit there, and the move is filed on the customer's side without naming the private origin. A tunnel that would span two customers is cut by the move.
When an account is deleted its private customer is not destroyed at once: it is kept for the
trash retention (below) and then removed, with its hosts, access entries, folders and audit
entries. No page lists it; GET /api/admin/connection-orphans gives administrators the
number of entries and folders per former account, and no name. A private customer whose owner is
switched off, or whose role has no access to access entries, is dormant: nobody reaches it until the
owner can again, and nothing is removed.
Folders, the trash and the notes
- A customer has one level of folders, and so does a private customer. A folder holds the hosts of its own customer, link hosts included; an access entry is in its host's folder and has none of its own. Deleting a folder unfiles its hosts and moves only the folder to the trash.
- Deleting an entry moves it to the trash; deleting a host without an agent or a link host moves the host to the trash with its entries, all stamped alike, so restoring it brings back exactly those. An entry trashed on its own earlier stays in the trash as a loose row, and restoring one whose host is in the trash restores the host, alone. The entry of a link host is never listed on its own: it is the host. Deleting an agent or a network device deletes it for good, and the entries on an agent with it. See Deleting a host, and the host trash.
- The trash is emptied daily for everything older than the retention, 30 days by default (Settings → Data retention, 1 to 3650 days): access entries, hosts (with whatever still hangs on them) and folders. Then the stored password is gone too. Anyone who may edit can restore or purge ahead of time.
- A customer cannot be deleted while it has hosts or access entries, live or in the trash: the
request is refused with
409anddetails.reasoncustomer_has_connections, and the customer list says so. Delete all access entries (POST /api/access-entries/delete-all, withcustomerId) moves every entry to the trash, and the trash is then emptied by hand or lets the retention run out. - Each customer has one page of notes for reaching it (Markdown, up to 20,000
characters), saved against the version it was edited from: a second editor gets
409 version_conflictwith the current text instead of overwriting it. A private customer has the page too. The notes of a host are the host's own Notes tab.
Who uses what
Administrators can see which access entries are used and by whom
(GET /api/admin/connection-usage, optional days and limit): uses and last use per
entry and per person, and how many entries went unused. Private entries are
counted as one number and never named, in no list and in no person's total (this is deliberate).
The dashboard shows it under Access & rights, Usage (/settings/connection-usage) for administrators:
for the last 7, 30, 90 or 365 days or everything recorded, how many customers and entries
there are, how many were used and how many not, the number of uses and of people, and two tabs.
Overview has the 20 most used entries with their protocol, customer and how many people used
each, and the 20 people who used most. People lists every account, those that never opened
an entry included, with role, whether it is switched off, the last sign-in, how many trusted
browsers and tokens it has, its uses, how many entries it used and its last use; searchable,
and a row opens what that person uses most (customers' entries only, private uses as a
number) and the browsers and programs they are signed in with, each of which can be revoked, with
Sign out everywhere for a lost laptop. The counts are lifetime counters: a period selects the
entries last used in it and shows their counts since the start, it does not split uses by
day. Below it, private customers whose account was deleted are listed as counts.
Live screens
Nothing here is refreshed by hand. The access lists and the desktop app follow the server over
the live socket at /api/live (see API Tokens),
and every topic is the viewer's own: what a person may edit, copy or open is their grant's,
and a private customer is theirs alone, an administrator's included. Customer logins and customer
view are refused all of them, and so are API and command-line tokens: a script's token reads
the masked list over REST and nothing else of the access entries.
| Topic | Parameters | Carries |
|---|---|---|
connections.customers | none | The customers the person reaches, each with its kind, its flags, what the person may do there (edit, reveal, tunnel, manageGrants) and how many entries, folders, hosts and links it holds. The person's own private customer is one of them: kind: "private". |
connections.hostIndex | none | One short row per host and per access entry the person may see (host name, kind, tags, folder; protocol, address or URL, port, user name, whether a password exists). It feeds the search across customers and pickers. |
connections.hostTree | customerId | One customer's (a private customer's, for its id) folders, notes and hosts. Each host carries its kind and status, tags, colour, whether it is a tunnel host, its reachability, its addresses and shares and its access entries, with hasPassword, never the password. |
connections.host | systemId | What the Access tab and the Connect menu need for one host: the same data, each entry with open (the route in the browser and in the desktop app, and what blocks it), the migration notices, the customer's tunnel hosts the host could be set to go through, and the entries trashed on their own. |
connections.entry | id | One access entry with who used it last, its history and the host it belongs to. |
connections.hostMarks | none | The person's favourites, pins and last use of entries. |
connections.hostQuick | optional customerId | What the quick access window shows: quicklinks (web entries marked as quicklinks), favorites and recent (the 20 last opened, newest first). Without customerId it holds everything the person reaches. |
connections.hostTrash | customerId | The trash of that customer: hosts (each with the number of entries that return with it), entries deleted on their own and folders; empty-handed (null) without the right to edit. |
folders.list | optional customerIds | The folders of the customers the person reaches, with how many hosts each holds: what every folder picker and filter reads. |
connections.icons | none | The icon library: names, types and sizes. |
The topics of earlier releases (connections.tree, .byHost, .index, .mine, .quick, .detail and
.trash) no longer exist; a client that subscribes to one gets an error.
Two more topics are for administrators only, and carry another prefix because the desktop app's
token may subscribe to connections.*, alerts.counts, alerts.page and inbox.feed and to
nothing else: connectionAdmin.access (id: who
can copy and edit at that customer), connectionAdmin.usage (days: 7, 30, 90, 365 or none) and
connectionAdmin.userUsage (id and days: one person's top entries and devices).
A write publishes what it changed, and only the screens that show it are told: a write in one customer re-reads only the trees open on that customer, and a write in a private customer is told to its owner alone. A change that happens with no write, such as a maintenance window opening, is pushed by the server when its time comes, not found by a timer in the browser. A topic reads a fixed number of rows however many entries exist.
The API
The routes under /api/access-entries and /api/links take a browser session or the
desktop app's token (see API Tokens); the host data under /api/systems/{id}/... takes a browser
session only. All answer with the envelope of the HTTP API. The server's errors
here are codes (not_found, forbidden, address_unknown, invalid_tunnel_system, …); the clients word them.
Related
- Hosts and Access Entries for what a host owns, reachability and the host trash
- Remote Desktop and Tunnels for the two ways a host is opened through an agent
- Users and Permissions for the permissions and templates
- Audit Log for the entries access writes
- Configuration for the trash retention
- Backup and Restore: stored passwords need
SETTINGS_ENCRYPTION_KEY