Skip to main content
Version: Next

Administration

The administration interface is for managing users, roles, namespaces, projects, and API tokens.

Access it via the Admin link in the header or directly at /admin/

The admin sidebar provides access to:

  • Dashboard - Administration overview
  • Users - Manage user accounts
  • Roles - Configure roles and permissions
  • Namespaces - Manage namespaces
  • Projects - Manage projects
  • API Tokens - Generate and manage API tokens

Dashboard​

The admin dashboard shows a global overview:

  • Total users, roles, namespaces, projects
  • System status
  • Quick links to common actions

Admin Dashboard

Users​

Manage user accounts for the Manager.

Users List

Creating a User​

  1. Click Add User
  2. Enter Username (unique identifier)
  3. Enter Password
  4. Optionally add First name and Last name
  5. Assign Roles to the user

User Form

User Authentication​

Users can authenticate via:

  • Local credentials - Username and password
  • OpenID Connect - If configured (Google, Keycloak, etc.)

Roles​

Roles define what users can access and modify.

Roles List

Creating a Role​

  1. Click Add Role
  2. Enter a Name for the role
  3. Configure Admin Permissions (access to admin sections)
  4. Configure Resource Permissions (access to projects and resources)

Role Form

Admin Permissions​

Control access to administration sections:

SectionDescription
usersManage users
rolesManage roles
namespacesManage namespaces
projectsManage projects
tokensManage API tokens

Resource Permissions​

Control access to project resources:

FieldDescription
Namespace* for all, or specific namespace code
Project* for all, or specific project code
Resource* for all, redirect, page, or agent
Actionread, write, or * for both

Namespaces​

Namespaces are top-level groupings for projects (e.g., production, staging).

Namespaces List

Creating a Namespace​

  1. Click Add Namespace
  2. Enter a Code (unique identifier, used in URLs)
  3. Enter a Name (display name)

Namespace Form

Projects​

Projects belong to namespaces and contain redirects, pages, and agents.

Projects List

Creating a Project​

  1. Click Add Project
  2. Select the Namespace
  3. Enter a Code (unique within namespace)
  4. Enter a Name (display name)

Project Form

Truncate actions​

The project edit page offers three destructive actions, each scoped to that single namespace and project, and each asking for confirmation:

ActionRemovesPublishes
Truncate all redirectsEvery redirect, published and draft alikeYes
Truncate all pagesEvery page, published and draft alikeYes
Truncate activity journalEvery journal entryNo

Redirects and pages are published straight away. Agents only re-sync when the project version changes, so without that publish they would keep serving the redirects and pages that were just deleted. The response reports the new version.

Truncating the journal does not publish anything, since the journal is not part of what agents serve.

All three require write access to the Projects admin section, not project resource permissions: a user who can edit a project's redirects cannot wipe them. Each truncate is itself recorded in the activity journal.

API Tokens​

Generate API tokens for agents and automation.

Tokens List

Creating a Token​

  1. Click Add Token
  2. Enter a Name (descriptive identifier)
  3. Set optional Expiration date
  4. Configure Permissions (same as role permissions)
  5. Click Create
  6. Copy the token immediately - it's only shown once!

Token Form

Token Format​

Tokens have the format: flecto_xxxxxxxxxxxx...

The token list shows a preview: flecto_abcd...wxyz

Token Permissions​

API tokens have their own permissions, independent of user roles. Configure:

  • Admin Permissions - For tokens that need admin access
  • Resource Permissions - For tokens that access specific projects
tip

For agents, create tokens with only the necessary resource permissions (read access to the specific namespace/project).