Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

Update the admin users, defaults, settings and permissions wiki pages

Maurice1e4b61887827
diff --git a/wiki/Admin-Permissions.md b/wiki/Admin-Permissions.md
index 8e2cfd78e..6c9adf314 100644
--- a/wiki/Admin-Permissions.md
+++ b/wiki/Admin-Permissions.md
@@ -61,12 +61,15 @@ Actions are grouped into five sections. Each row shows the action's name, a hint
| `packing_edit` | **Manage packing lists** | Manage packing items and bags | Trip members | Trip owner, Trip members |
| `collab_edit` | **Collaboration (notes, polls, chat)** | Create notes, polls, and send messages | Trip members | Trip owner, Trip members |
| `share_manage` | **Manage share links** | Read, create or delete public share links and calendar feed links | Trip owner | Trip owner, Trip members |
+| `journal_link` | **Link a journal** | Link a journal from Journey to the trip and open it to its members | Trip owner | Trip owner, Trip members |
## Changing permissions
Each action row has a dropdown. Select the minimum role level required. A **customized** badge appears next to any action that differs from its default.
-Click **Save** (top right of the card) to persist your changes; it stays disabled until something has changed. **Reset to defaults** (circular arrow icon) puts every action back to its shipped default in the form without saving: click **Save** afterwards if you want to keep the reset.
+Click **Save** (in the head of the card) to persist your changes; it stays disabled until something has changed. **Reset to defaults**, next to it, puts every action back to its shipped default in the form without saving: click **Save** afterwards if you want to keep the reset.
+
+The phone admin shows the same panel below the user list in its **Users** section.
## Related pages
diff --git a/wiki/Admin-Settings.md b/wiki/Admin-Settings.md
index 4ecfaeb89..cd49c59cc 100644
--- a/wiki/Admin-Settings.md
+++ b/wiki/Admin-Settings.md
@@ -2,7 +2,7 @@
The **Settings** tab (in the **Configuration** group of the admin side navigation, `/admin?tab=settings`) holds the instance-wide switches for signing in, uploads and place data. On a wide screen the cards sit in two columns: access and identity on the left (**Authentication Methods**, **Passkey login**, **Require two-factor authentication (2FA)**, **Single Sign-On (OIDC)**), files and place data on the right (**Allowed File Types**, **API Keys**). The **Danger Zone** runs across the full width at the bottom. On a narrow screen the same cards stack in that order.
-Switches save as soon as you flip them. Text fields save with the card's own **Save** button.
+Switches save as soon as you flip them. Text fields save with the card's own **Save** button. The phone admin has the same cards in its **Settings** section.
## Authentication Methods
@@ -143,11 +143,11 @@ Rotating the JWT secret does not touch the encryption key that protects stored A
## See also
-- [Admin-Panel-Overview](Admin-Panel-Overview) - all admin tabs
-- [OIDC-SSO](OIDC-SSO) - single sign-on setup
-- [Passkeys](Passkeys) - passkeys from the user's side
-- [Two-Factor-Authentication](Two-Factor-Authentication) - 2FA and the enforced setup
-- [TREK-Places-API](TREK-Places-API) - TREK's own place index
-- [Places-and-Search](Places-and-Search) - how place search uses these providers
-- [Environment-Variables](Environment-Variables) - variables that override these fields
-- [Encryption-Key-Rotation](Encryption-Key-Rotation) - rotating the encryption key
+- [Admin-Panel-Overview](Admin-Panel-Overview): all admin tabs
+- [OIDC-SSO](OIDC-SSO): single sign-on setup
+- [Passkeys](Passkeys): passkeys from the user's side
+- [Two-Factor-Authentication](Two-Factor-Authentication): 2FA and the enforced setup
+- [TREK-Places-API](TREK-Places-API): TREK's own place index
+- [Places-and-Search](Places-and-Search): how place search uses these providers
+- [Environment-Variables](Environment-Variables): variables that override these fields
+- [Encryption-Key-Rotation](Encryption-Key-Rotation): rotating the encryption key
diff --git a/wiki/Admin-User-Defaults.md b/wiki/Admin-User-Defaults.md
index df3698843..950690555 100644
--- a/wiki/Admin-User-Defaults.md
+++ b/wiki/Admin-User-Defaults.md
@@ -4,7 +4,7 @@ The **User Defaults** tab (in the **Users** group of the admin side navigation,
![Admin panel on the User Defaults tab, setting instance-wide defaults for colour mode, temperature unit, distance unit, time format, currency and blurred booking codes](assets/AdminUserDefaults.png)
-On a wide screen the tab has two cards side by side: **Default User Settings** on the left, **Map** on the right. On a narrow screen the map card follows below.
+On a wide screen the tab has two cards side by side: **Default User Settings** on the left, **Map** on the right. On a narrow screen the map card follows below. The phone admin has the same tab as a section of its own.
## Saving and resetting
@@ -77,9 +77,9 @@ See [Map-Settings](Map-Settings) for the styles and what the two Mapbox switches
## See also
-- [Admin-Panel-Overview](Admin-Panel-Overview) - all admin tabs
-- [Display-Settings](Display-Settings) - the same settings from the user's side
-- [Appearance-Settings](Appearance-Settings) - colour mode and the rest of the look
-- [Map-Settings](Map-Settings) - map engines, tile sources, styles and keys
-- [Road-Trip](Road-Trip#routing-engines) - routing engines in detail
-- [Currencies](Currencies) - display and trip currencies
+- [Admin-Panel-Overview](Admin-Panel-Overview): all admin tabs
+- [Display-Settings](Display-Settings): the same settings from the user's side
+- [Appearance-Settings](Appearance-Settings): colour mode and the rest of the look
+- [Map-Settings](Map-Settings): map engines, tile sources, styles and keys
+- [Road-Trip](Road-Trip#routing-engines): routing engines in detail
+- [Currencies](Currencies): display and trip currencies
diff --git a/wiki/Admin-Users-and-Invites.md b/wiki/Admin-Users-and-Invites.md
index dcd5584d0..1e986a200 100644
--- a/wiki/Admin-Users-and-Invites.md
+++ b/wiki/Admin-Users-and-Invites.md
@@ -40,6 +40,8 @@ If an install from before 5.0 already holds two accounts whose addresses differ
Below the fields sits **Reset passkeys**, which removes every passkey that user has registered: the recovery path when someone loses their authenticator. It asks for confirmation in a dialog, reports how many passkeys it removed, and takes effect immediately rather than on **Save**. The user can still sign in with their password. See [Passkeys](Passkeys).
+For every other account the dialog also has **Reset 2FA**, for example after a lost phone. After you confirm (**Turn off two-factor authentication for {name}?**) it switches 2FA off for that user and signs them out everywhere; they can set it up again after logging in with their password. It is not offered for your own account, and it is recorded in the [Audit-Log](Audit-Log). See [Two-Factor-Authentication](Two-Factor-Authentication).
+
### Delete a user
Click the trash icon and confirm in the **Delete user** dialog (**Delete user "name"? All trips will be permanently deleted.**). Deletion is permanent. The user's account is removed from the database along with their data, including the trips they own (cascade behavior is enforced at the database level).
@@ -81,7 +83,7 @@ Existing invites are listed below the creation button. Each row shows:
- **adds to** the bound trip, if the invite is trip-bound
- **by** the admin who generated the link
- A **Copy link** button (only on active invites)
-- A delete (revoke) button
+- A delete (revoke) button, which asks you to confirm in the **Delete invite link** dialog ("Anyone who has not used it yet can no longer register with it.")
Revoking an invite immediately invalidates it; anyone following the link after revocation will receive an error.
@@ -89,6 +91,10 @@ Revoking an invite immediately invalidates it; anyone following the link after r
The **Users** tab also hosts the Permissions panel at the bottom, which controls what roles can perform which actions. See [Admin-Permissions](Admin-Permissions) for details.
+## On a phone
+
+The phone admin has the same functions in its **Users** section (user list, edit and create dialogs, invite links) with the permissions panel below it.
+
## Related pages
- [Login-and-Registration](Login-and-Registration)