To keep a copy, press Ctrl+P (⌘+P on a Mac) and choose Save as PDF.
Milestone Planner
User and Admin Manual
Using and running Milestone Planner: R&D project management with Gantt charts, staff allocation, and equipment booking.
Contents
User Guide
Getting Started¶
Logging In¶
When you navigate to the application URL, you are presented with the login screen.

- Enter your email and password, then click Sign In.
- If your organization uses Microsoft Entra ID (SSO), click Sign in with Microsoft to authenticate through your corporate identity provider. The SSO button only appears if configured by your administrator. Finish the Microsoft sign-in in the same browser window within 10 minutes; otherwise you are asked to start again.
- After 10 failed sign-in attempts for the same e-mail within 15 minutes, further attempts are refused for a while ("Too many failed sign-in attempts"). Wait a few minutes or ask an admin to reset your password.
- If your session expires or an admin deactivates your account or changes your role, you are returned to the login screen; anything you were doing in What-If mode is discarded.
- If loading the workspace after sign-in fails, an error screen with a Retry button appears instead of an empty workspace.
The Main Interface¶
The application is organized into several areas:
- Sidebar (far left) — Switch between the main views: Gantt Chart, Kanban Board, My Work, Dashboards, Staff & Calendar, Equipment, Cross-Site, and Archived
- Header (top) — Branding, site selector, date navigation, zoom controls, theme toggle, and user menu
- Project Panel (left-center) — Hierarchical list of projects, phases, and subphases
- Timeline (right) — Visual Gantt bars aligned to a calendar
Navigation¶
Sidebar Views¶
| Icon | View | Description |
|---|---|---|
| Gantt | Gantt Chart | Project timeline with phases and resource assignments (default) |
| Kanban | Kanban Board | The same work as cards moving through To Do, In Progress, Blocked and Done |
| Work | My Work | Requests waiting for your decision, your bookings and your own requests, with a badge counting the requests to decide — see My Work |
| Dashboard | Dashboards | KPIs and charts over the plan — booked weeks, confirmed shares, projects per site — shared with your role or with everyone — see Dashboards |
| Staff | Staff & Calendar | Staff members with assignments and availability |
| Equipment | Equipment | Equipment items with booking timelines |
| Cross-Site | Cross-Site | Overview of projects across the sites you can see (listed only with at least two) |
| Archive | Archived | Completed/archived projects |
Which views you see depends on your role: a view your role does not include is not listed, and Cross-Site is not listed while you can see only one site. The sidebar can be collapsed to icon-only mode for more screen space. Admins and superusers — anyone whose role manages one of the Settings sections — also see a Settings entry in the Admin section, which opens the Settings window — users, sites, calendars, equipment, phases and SSO, limited to what your role can change. Your own time off is under My absences in the user menu (see Vacations & Time Off).
Header Controls¶
Left — Branding & Context:
- Logo and instance title (customizable by admin)
- Site selector dropdown to switch between locations — it lists only the sites you can see
- Teams filter — appears when the site has teams; narrows the views to one or more teams of the site, or to what has no team. Remembered per site in your browser (see Team Filter)
Center — Timeline Navigation:
- Arrow buttons to scroll the timeline backward/forward
- Today button to jump to the current date
- View mode: W (Week), M (Month), Q (Quarter), Y (Year)
- Zoom controls (−, the current percentage, +) to adjust timeline cell width (12px to 120px)
Right — Actions & User Menu:
- Panels toggle — Show/hide Staff and Equipment panels below the Gantt chart
- What-If toggle — Enter/exit scenario planning mode (Gantt chart only; shown when your role includes What-If mode)
- Theme toggle (light/dark)
- Online users indicator
- Offline badge — appears only while live updates are disconnected. Your edits still save; you just don't see colleagues' changes until the connection is back. It reconnects by itself when the network returns or you switch back to the tab
- User menu (your name and role, My absences, Help, logout, and the version this instance is running)
The header adapts to the window width
On a narrower window the bar collapses in stages rather than crowding. Button labels shorten to icons first; below roughly 1280px the zoom and undo/redo controls move into a ⋯ menu beside the notification bell, and below about 1024px the view switcher and the theme and What-If toggles join them. Nothing is removed — everything stays reachable in that menu, and zoom and undo/redo also have keyboard shortcuts.
Checking your version¶
To keep the manual offline, open Print or save as PDF: the whole User Guide and Admin Guide on one page, which your browser's Print dialog saves as a PDF; a ready-made PDF is also available.
Help in the user menu opens this manual's home page in a new browser tab, from any view. If your organisation keeps its own copy of the manual — a hosted copy, or the PDF of the manual on a file share — an administrator sets its address in Settings → Features & defaults and Help opens that address instead.
The bottom of the user menu shows the version this instance is running, for example v1.4.0. It is read from the server each time you open the menu, so if your administrator upgrades the instance while you have the application open, the number changes here — reload the page to pick up the new version.
User Roles¶
Your role decides what you can do. Milestone ships with three roles, and an administrator can adjust them or add others (for example a Team Lead) in Settings → Roles:
| Role | Default permissions |
|---|---|
| Administrator | Everything, at every site: users, roles, sites, settings, projects, assignments |
| Superuser | Manage projects, assignments, equipment, calendars and teams at their own sites, use What-If mode, build and share dashboards; cannot manage roles, user accounts or settings |
| User | View projects and timelines at their sites; book their own absences; add themselves to projects and Kanban cards and manage their own assignments. The project manager of a project can also edit that project, its phases, assignments, equipment bookings and cards (but not delete it) |
Your role's name is shown in the user menu. Depending on the role, booking your own time may need approval — the buttons then read Request to assign me or Request to join, and your booking waits in a dashed row until someone approves it.
You see only your sites. Unless your role has See all sites (administrators by default), the site selector lists only the sites you belong to, and you cannot see or change anything at the others.
See Who Can Edit a Project for the details.
Gantt Charts¶
The Gantt Chart is the primary view and the default when you log in. It combines a hierarchical project list with an interactive timeline.

Project Panel¶
The left panel displays your projects in a tree structure. The header buttons sit at the right edge of the panel, after any custom columns:
- Staff & Equipment — Show or hide the assignment rows
- Filter — Filter projects by their dropdown fields and tags
- Group by — Group projects by a dropdown field (shown once a dropdown field has an item at the site)
- Colour by — Colour the project bars by a dropdown field or the tags (shown once there is a dropdown field or a tag at the site)
- Column Visibility — Show or hide custom columns
- + New Project — Create a new project
- Import — Import from CSV, XML, or MPP
- Manage Columns — Configure custom data columns
- Expand/collapse projects to see phases, subphases, and assignments
- Status indicators: confirmed (green) or unconfirmed (gray)
The panel is resizable — drag the divider between the panel and timeline to adjust width (200px to 600px).
Timeline¶
The right side shows horizontal bars representing duration of each project, phase, and subphase:
- Project bars span the full project duration
- Phase bars are color-coded by phase type
- Subphase bars support unlimited nesting depth
- A red vertical line marks today's date, and the current month is highlighted in the header
- Week numbers follow ISO 8601: weeks start on Monday and week 1 is the week containing the first Thursday of the year, so 1–3 January 2027 show as week 53 (of 2026)
- The timeline opens centred on today in every view, after every refresh; switching to another view and back keeps your place
- When weekends are hidden (Settings → General → Show Weekends), a wider separator marks the start of each week at week and month zoom, in every timeline
- Bank holidays and company events are highlighted on the background at week and month zoom; a company event marked as a site closure gets a stronger, hatched tint
- A thin strip in the timeline header, under the day labels, names every holiday and company event of a day — see Holidays and events on the timeline
- Staff assignment bars are marked on days the person is away — an unavailable absence, or a closure of one of their sites
Holidays and Events on the Timeline¶
Under the day labels, the timeline header holds a thin strip — its own row, above the project bars — with one coloured band per company event, in the event's own colour. Several events on the same days are stacked on up to three lanes; a bank holiday is the orange line on the top lane, the events go below it. When a day holds more than fits, a small +N marks how many are left out (a dot on narrow days). A site closure's band carries a thin outline. At quarter and year zoom each week or month with events gets one band, in the colour of its first event, and a count of its events.
Hover the strip or the date number above it — or move the keyboard focus onto the strip with Tab — and a panel opens listing everything on that day, week or month: at week and month zoom the day's bank holiday first, then — at every zoom — each event with its colour, its dates and, when it applies, Site closure, Closure for <teams> (a closure limited to teams) or Teams: <teams> (a plain event limited to teams). Click the strip (tap on a phone) to keep the panel open; click again, click elsewhere or press Escape to close it. If you may manage company events, click an event's name to open it in Settings → Company events.
The strip follows the header team filter: an event limited to teams you have filtered out leaves the strip and the panel. The same strip is drawn on the Staff, Equipment, Cross-site and Archived timelines; the Staff and Equipment panels shown below the Gantt use the Gantt's own header strip.
Resource Panels¶
Everyone who may open the Staff & Calendar or the Equipment view (users and superusers by default) can dock it directly below the Gantt chart from the Panels button in the header; a role without one of the two view permissions is offered only the other panel. The two panels are mutually exclusive — you can show one at a time. Drag the divider between the chart and the docked panel to resize each region.
Seeing a panel and booking from it are separate rights: dragging a person or a piece of equipment onto a project still needs the booking rights (project managers on their projects, people who may assign anyone or book equipment, and your own row for booking yourself).
This is the fastest way to see scheduling and capacity together: changes you make in the Gantt are reflected in the panel below in real time.
An administrator can choose a panel that opens every time the Gantt chart is opened, and default skills or equipment types for the panels' filters, in Settings → Features & defaults. You can still close the panel or change the filter; the default applies again the next time you open the Gantt chart.


Who Can Edit a Project¶
With the default roles (an administrator can change them in Settings → Roles), and only for projects at the sites you can see:
| Admin / Superuser | Project manager | Everyone else | |
|---|---|---|---|
| View the project | Yes | Yes | Yes |
| Create a project, import a project | Yes | No | No |
| Edit details, dates, tags, archive; hand the project to another manager | Yes | Yes | No |
| Add, edit, move, resize, reorder and delete phases and subphases; dependencies; completion | Yes | Yes | No |
| Assign and edit anyone's staff assignments; book equipment | Yes | Yes | No |
| Add themselves, change or remove their own assignment | Yes | Yes | Yes — or by request when their role needs approval |
| Delete the project | Yes | No | No |
The project manager is the person selected in the project's Project Manager field. They get these rights on that project only, even with the plain User role, as long as their role can act as project manager — controls they can't use on other projects stay disabled. Changing the Project Manager field hands the rights over to someone else. Moving a Kanban card is also open to the card's assignees (see Kanban Board).
Creating a Project¶
Creating a project needs the Create projects permission (admins and superusers by default), at one of the sites you can see.
- Click + New Project in the panel header
- Fill in required fields: Project Name, Start Date, End Date
- Optionally set: Project Manager (type a few letters of a name to find the person), Customer, Sales PM, Volume (an administrator may have renamed or hidden these)
- If the site has teams, tick the Teams the project belongs to — the teams of the active team filter are ticked already, so the new project shows in the view you are on
- Fill in any project fields and tags
- Select which predefined phases to include (all active phases are pre-selected, unless an administrator turned that off — then none is, and you pick them)
- Switch Confirmed on if the project is approved
- Click Create Project
Editing Projects, Phases & Subphases¶
- Edit a project: Click the Edit button or right-click and select "Edit"
- Add a phase: Right-click on a project and select "Add Phase"
- Add a subphase: Right-click on a phase and select "Add Subphase" (supports unlimited nesting)
A new phase or subphase opens with empty dates, so the calendar shows the current month when you click the date field; Add asks for the dates (a milestone needs only its date) if you leave them out. A phase created from a dependency's ghost bar keeps the dates of that bar, and editing keeps the current ones. - Delete: Right-click on any item and select "Delete" (with confirmation). A project manager can delete phases and subphases, but deleting the project itself needs the Delete projects permission (superusers and admins by default)
When editing a project, export buttons (CSV and XML) are available in the modal footer.

Picking Dates¶
Every date in Milestone is picked on the same calendar. Click the Start Date or End Date field — or press Enter, Space or the down arrow while it has focus — and two months open under the fields (one on a phone); the month and year dropdowns jump to a distant date. The first click sets the start, the second the end, and the calendar closes. The end can never fall before the start: picking a start after the current end moves the end along and keeps the duration, and picking an end before the start makes that day the new start, so you then pick the end. Weekends are greyed, and the current site's bank holidays and closures carry a dot — hover the day to see its name. They are only hints: every day can still be picked. A milestone has a single Date field on the same calendar.

Picking a Person¶
Every list of people — the project's Project Manager, the booking dialog's Staff Member (and its Equipment list), the Kanban card's Add someone…, the absence dialog's Staff Member and a team's Members — opens with a search box that already has the focus: type to find a person, the list narrows from the first letter, on the name and, where the row shows one, the job title (the type for equipment). Use the arrow keys and Enter, or click, to pick — once you have typed, Tab takes the highlighted match and moves on to the next field; Escape closes the list and leaves the dialog open. Typing a letter while the closed field has the focus opens it with that letter already typed. A muted note on a row, such as 80% capacity or — already on this card, is shown but not searched.
Project Fields¶
Besides its name, dates and manager, a project carries fields. Four are built in — Customer, Sales PM, Volume and Confirmed — and an administrator can rename them (the new name then replaces the default wherever the field is named), hide the first three, and add fields of the workspace's own in Settings → Project fields (see Project fields in Settings). The project dialog shows the added fields in the order set there, followed by Confirmed, Teams and then Tags (Archived, when editing, stays at the bottom):
- Dropdown — pick one item (for example Project type → Internal / Customer), or several items in a multi-select dropdown such as Area: open the dropdown and tick the items (click a row, or move with the arrow keys and press Space); it stays open until you click elsewhere or press Escape, the box lists the chosen items, and Clear unticks them all
- Text — up to 2,000 characters
- Number — a number in the field's Format (for example one decimal): the box refuses a decimal beyond it and completes the missing ones when you leave it (12 → 12.0); with As typed, any number. Volume works the same way, with one decimal unless an administrator changed its format
- Switch — on or off
No field is required. A dropdown item can be limited to some sites and to some teams of a site, so the dialog only offers the items that apply to the project's site and teams; unticking a project's last matching team removes such an item from the project when you save. People who can manage project fields (admins by default) see a Manage fields… link that opens Settings → Project fields.
Details on hover (Shift). Hold Shift and point at a project bar to see its details. By default they show the customer, the PM, whether the project is confirmed (Confirmed: Yes / No, under the field's own name if it was renamed), the tags, the period, the completion, the work days, the total days and the assigned staff. An administrator chooses the rows with the In Gantt details switches in Settings → Project fields, which has a preview (see Project fields): Sales PM, Volume (in its format) and any custom project field can be added — a dropdown field shows its items as coloured pills — and any row can be left out. A row with no value for the project is not shown. Phases and subphases always show their own details.
Tags¶
Tags are coloured labels attached to projects to classify and filter them (e.g. Critical, Tech Transfer). The tag library is shared by the whole workspace: admins define the tags in Settings → Tags (see Tags in Settings), and anyone who can edit a project attaches them. Categories with fixed choices, such as a project type, are dropdown project fields rather than tags.
Each tag applies to all sites or only to the sites an admin picked, so the picker and the filter only offer the tags that apply to the project's site. A tag can also be limited to some teams of a site: there, the picker offers it only on projects of one of those teams, and unticking a project's last matching team removes the tag from the project when you save.

Attaching a tag¶
- Open the project (Edit, or while creating a new one).
- Click the Tags field (or start typing in it). The list shows the available tags in their order.
- Type to narrow the list, then click a tag (or press Enter on a unique match) to attach it. It appears as a coloured pill above the field.
- Click the × on a pill to detach the tag.
People who can manage tags (admins by default) see a Manage tags… link in the picker that opens Settings → Tags.
Filtering, Grouping and Colouring Projects¶
Filtering projects¶
The Filter button in the project panel header (and in the Kanban toolbar) opens one section per dropdown field that has an item at the site, in field order, then a Tags section:
- Tick one or more items of a field to show projects holding any of them.
- Tick items in several fields, or tags as well, to show only projects matching every field (the tags count as one more field).
- (None) in a field matches projects without an item of that field, and combines with the field's items.
- Clear removes the whole filter.

The panel opens under its button, or above it when there is more room there, and is never cut off by an open Staff or Equipment Overview. The button shows how many choices are ticked, and the panel header shows x of y projects while a filter is active. The selection is remembered per site, so switching site or reloading brings it back. Items and tags that are deleted later are simply ignored. With a team filter active, the panel only lists the items and tags available to the selected teams.
Upgrading to 2.0.0
A filter, grouping or colour choice saved in your browser before version 2.0.0 is reset once, because tag groups became project fields — pick it again.
Grouping projects by a field¶
To see the portfolio at a glance, split the project list into sections, one per item of a dropdown field — for example Project type → Internal / Customer:
- Click the Group by button in the project panel header (next to Filter).
- Pick a dropdown field. No grouping returns to the plain list.
Each section starts with a header showing the item as a coloured pill and the number of projects in it; the timeline shows a matching band across the chart. Projects without an item of that field are listed last under No field name. Sections without projects are left out, and a project holding several items of a multi-select field is listed once, under the first of them in the field's item order.

- Click a section header (or its arrow) to collapse or expand it. Collapse all / Expand all in the Group by panel act on every section at once.
- The filter applies first, then the grouping: sections only hold the projects that pass the filter. The header count still counts projects.
- Projects cannot be reordered by dragging while the list is grouped; choose No grouping to change the order.
- A project you create, or change, into a collapsed section stays hidden until you expand that section.
- The grouping and the collapsed sections are remembered per site in your browser, like the filter.
Project colours¶
Each user can colour the project bars by a dropdown field or by the tags:
- Click the Colour by button in the project panel header (next to Group by).
- Pick a dropdown field, or Tags. Default returns to the standard bar colour.
With a field, the project bar on the timeline takes the colour of the project's item of that field — for example blue for internal projects and green for customer projects. A project holding several items of a multi-select field takes the colour of the first of them in the field's item order (the same item Group by files it under). With Tags, the bar takes the colour of the project's first tag in the tag order. A project without an item of the field (or without a tag) keeps the default colour. Unconfirmed projects keep their striped look on top of the colour.

The choice is yours alone: it is remembered per site in your browser, like the filter, and does not change what other users see. It is independent of Group by — you can group by one field and colour by another.
Permissions¶
| Action | Who can do it |
|---|---|
| Fill in project fields, attach / detach a tag | Anyone who can edit the project |
| Filter, group and colour projects | Everyone |
| Create, edit, reorder, delete tags | Admins (Settings → Tags) |
| Create, edit, reorder, delete project fields; rename or hide built-in fields | Admins (Settings → Project fields) |
Drag & Drop¶
The timeline supports direct manipulation (on projects you can edit; your own assignment bars on any project):
- Move a bar — Drag left/right to change dates (phantom preview shows target position). The bar keeps its length; see moving with the weekends hidden below
- Resize a bar — Drag left/right edge to extend or shorten duration
- Reorder phases — Drag within the project panel to reorder
- Move a booking inside its phase — an unlinked booking on a phase or subphase can be dragged and resized, but never past the phase's start or end
Moving with the weekends hidden¶
When Show Weekends is off (Settings → General) and Weekends are working days is off too, the week and month views have no Saturday and Sunday columns, so a bar's width is the number of weekdays it covers. Dragging a bar there moves it by whole weekdays and keeps that number: a phase from Monday to Friday moved one column to the right runs from Tuesday to the following Monday — still five columns — instead of ending on a hidden Saturday.
Everything that moves with the bar moves the same way: the phases and subphases of a moved project, the subphases of a moved phase, and their staff and equipment bookings each shift by the same number of weekdays and keep the weekdays they cover. The confirmation for a project says so (Move project by +3 weekdays (Monday to Friday)?).
- A bar that starts or ends on a hidden weekend day is moved from where it is drawn: one starting on Saturday starts on the Monday after, plus the columns you moved it.
- Weekdays are Monday to Friday, and bank holidays are not skipped — the rule follows the columns you see.
- A child that lay inside its phase or project stays inside it: a subphase or milestone on a weekend is kept on the moved parent's last day rather than landing past it.
- With Weekends are working days on, a move keeps the calendar length even with the weekends hidden: Saturday and Sunday are then working days, so the calendar length is the number of working days, and nothing booked on a weekend is lost. The bar's width can then change by a column or two.
- With the weekends shown, and in the quarter and year views, a move keeps the calendar length as before.
- Undo and redo of such a move bring the bookings back by weekdays too.
Touch screens¶
On a tablet or phone, the same gestures work with a finger: press a bar and move it to change its dates, or press one of its edges to resize it (the edge handles are wider on touch screens). A tap opens the item's dialog; a small wobble of the finger during a tap never moves or resizes a bar. A swipe that starts on a bar you can edit moves the bar, so swipe on empty row space, the project panel or the header to scroll the chart (bars you cannot edit scroll as usual). If the system interrupts a drag (an incoming call, a gesture the browser takes over), the bar returns to where it was and nothing is saved.
Bookings on Phases and Subphases¶
A booking on a phase or subphase is either linked to it (pinned): it covers the phase's dates, follows it when the phase moves, and its bar cannot be dragged — or unlinked, with its own dates inside the phase. The badge at the start of the booking's row in the project panel shows which: it holds a pin and the phase's name, and a filled pin means the booking follows the phase dates.
A new booking from Assign Staff, Assign me…, a drag from the resource panel onto a phase or subphase bar, or the Kanban card (Join this card, adding an assignee) starts unlinked, with the phase's dates: its own dates are the phase's start and end. Because they are its own, the booking does not stretch when the phase grows or moves later — it is fitted inside the phase as described below. To make it follow the phase, pin it:
- Click the pin on the booking's row. An outlined pin (Own dates) turns into a filled one and the booking follows the phase dates; click it again to give the booking its own dates (it keeps the phase's dates for now).
- Or, in the assignment dialog, turn on Follow the phase dates; turn it off to pick the booking's own dates. The calendar only offers days inside the phase.
An unlinked booking's bar can be moved and resized on the timeline like any other bar, but it stops at the phase's start and end. The pin can only be clicked by people who may change that booking; for everyone else, and while the booking or your change to it awaits approval, it is greyed out but still shows whether the booking follows the phase. An unlinked booking's pin is also greyed out while another booking of the same person on that phase covers part of the phase's dates (Can't follow the phase dates while another booking of this person overlaps them): following the phase would make the two overlap.
Click the phase name in the badge to scroll the timeline to the booking: to its own start date when it is unlinked, to the phase's start when it follows the phase.
A person can hold several bookings on the same phase, as long as their dates do not overlap (adjacent days are fine). Booking someone for days that overlap one of their bookings on that phase is refused with This person is already booked on this card for overlapping dates.
Booking someone again without choosing dates — Assign Staff or Assign me again… for someone already on the phase (the dialog then turns Follow the phase dates on by itself and says the booking is placed), a drag from the resource panel or the Kanban card dialog — places the new booking for you:
- If their one booking covers the whole phase, it is split in half: the existing booking keeps the first half (the longer one when the phase has an odd number of days) and the new booking gets the second half. Both get their own dates.
- If their bookings leave free days, the new booking takes the largest free stretch (the earliest one on a tie).
- If their bookings already cover the whole phase, the booking is refused with This person's bookings already cover the whole card — shorten one of them first.
When your own booking needs approval, the request is sent with the planned dates and your existing booking is left alone until an approver approves it; the split or the free stretch is then worked out again and applied.
When the phase itself changes:
- Moving the phase (same duration) moves its unlinked bookings by the same number of days — or of weekdays, when you drag it with the weekends hidden.
- Shortening it fits them inside the new dates: a booking that sticks out is cut at the new edge, and a booking left entirely outside is placed against the nearest edge with its length kept (never longer than the phase).
- Lengthening it leaves them where they are.
Linked bookings simply keep following the phase; an unlinked one is never stretched: lengthening the phase leaves it on its old dates, so pin it if it should cover the new ones. One limit: shortening a phase past two bookings of the same person can push both against the same edge so that they overlap. They are kept as they are until you edit one of them; move one of them apart to resolve it.
The overview row¶
When someone has two or more bookings on the same phase or subphase, they are grouped under an overview row with the phase or subphase badge (without a pin), the person's name, the number of bookings and their allocation range (100%, or 20–60% when they differ); the bookings under it are listed in date order. On the timeline the overview row shows every booking as a small block (hover one for its dates and allocation; a booking awaiting approval is hatched).
Click the phase name in its badge to scroll the timeline to the person's first booking on that phase. Click the chevron to collapse the group to that one row, and again to expand it. Groups start expanded, and a collapsed group stays collapsed until you reload the page. The overview row itself has no menu: right-click one of the bookings under it to edit or remove it.

Completion Tracking¶
Each project and phase has a completion slider (0–100%):
- The filled portion of the bar represents progress
- Click the completion badge (40%) of a phase or subphase to adjust it, or right-click the row and choose Set progress… (the slider opens under its name). A completion calculated from the subphases cannot be set by hand
- Purely informational — does not affect scheduling
An administrator can hide the completion badges for everyone (Show completion badges in the Gantt in Settings → Features & defaults); the bars stay filled and Set progress… stays available.
The slider also drives the item's column on the Kanban board: 0% is To Do, 100% is Done, and anything in between is In Progress. Moving a card on the board changes the percentage here in the same way. A card you have marked Blocked keeps that status when you edit its percentage, since a number cannot express why work has stalled.
Custom Columns¶
Add custom data fields to the project panel to track metadata like priority, status codes, budget, or risk levels. Up to 10 columns can be active per site (including global columns).

Creating a Column¶
- Click Manage Columns in the panel header
- Click Add Column
- Configure:
- Column Name (required, e.g., "Priority", "Status", "Owner")
- Column Type — cannot be changed after creation:
- Text — Free-text field
- Checkbox — Boolean toggle (checked/unchecked)
- Dropdown List — Choose from predefined options
- Scope — Global (all sites) or Local (current site only)
- Column Width — 60px to 300px (default 120px), adjustable via slider
- For Dropdown type: add option values using the Add Option button (at least one required)
- Click Create
Editing Values¶
Custom column values appear as editable cells in the project panel, next to each project, phase, and subphase:
- Text columns: Click the cell to edit, press Enter or click away to save, Escape to cancel
- Checkbox columns: Click to toggle between checked and unchecked
- Dropdown columns: Click to open the options list, select a value or click "Clear selection" to reset
Values are saved automatically as you edit. Changes cascade — editing a phase's value also updates its child subphases. A cascade is saved as one request, so it either succeeds for the whole branch or, if saving fails, every cell it touched returns to its previous value.
Every built-in role can edit custom-column values (the Set custom column values permission), including the plain User role, on projects at the sites they can see. Creating, editing, reordering and deleting the columns themselves needs Manage custom columns (admins by default). Values and column changes appear for other signed-in users straight away.
Managing Columns¶
Open Manage Columns to see all active columns:

- Reorder: Drag columns by the handle icon to change display order
- Edit: Click the edit icon to change name, dropdown options, or width (type cannot be changed)
- Delete: Click the delete icon. A confirmation warns that all values will be lost
Column Filtering¶
Click the filter icon on any column header to filter the project list:
- The dropdown shows all unique values in that column
- Check values to show only matching rows
- Use Select All / Clear All for quick selection
- Filter by (Empty) to find rows with no value set
- Multiple column filters combine with AND logic
An active filter turns the column header's filter icon blue.

Resizing Column Widths¶
Drag the right edge of any column header to resize its width (60px–400px). The new width is saved automatically.
Show/Hide Columns¶
Toggle individual column visibility from the column manager without deleting them.
Dependencies¶
Link phases and subphases with dependency relationships to enforce scheduling logic. Dependency arrows are drawn on the timeline to visualize the relationships.

Dependency Types¶
| Type | Name | Meaning |
|---|---|---|
| FS | Finish-to-Start | Target starts after source finishes (most common) |
| SS | Start-to-Start | Target starts when source starts |
| FF | Finish-to-Finish | Target finishes when source finishes |
| SF | Start-to-Finish | Target finishes when source starts (rare) |
Creating a Dependency¶
Dependencies use a two-click flow:
- Hover over a phase or subphase bar — link zones appear at the start (left) and end (right) edges
- Click a link zone on the source item (e.g., the end zone for a Finish-to-Start link)
- Click a link zone on the target item (e.g., the start zone)
- The dependency type is determined automatically based on which zones you clicked:
- End → Start = FS, Start → Start = SS, End → End = FF, Start → End = SF
After linking, the target item's dates are automatically adjusted:
- FS: Target start moves to the day after the source ends
- SS: Target start aligns with the source start
- FF and SF: No automatic date adjustment
Child phases/subphases move along with their parent when dates are adjusted. Parent dates cascade upward to accommodate children.
Deleting a Dependency¶
Click the dependency arrow on the timeline and choose Delete Dependency in the popup — the link is removed at once, without a confirmation (draw it again to restore it) — or edit the target phase or subphase and remove the dependency from its list. This also works for links created by older versions.
Visual Arrows¶
Each dependency type has a distinct visual style on the timeline:
- FS — Solid arrow from source end to target start
- SS — Dashed arrow connecting start edges
- FF — Dotted arrow connecting end edges
- SF — Dash-dot arrow from source start to target end
Constraints¶
- Dependencies can only be created between items within the same project
- Circular dependencies are detected and blocked — you'll see an alert if a link would create a cycle. The check follows links through phases and subphases alike, and a "shortcut" link that skips an intermediate step (A → C alongside A → B → C) is allowed, because it closes no loop
- Duplicate dependencies (same source, same type) are silently ignored
- Each link remembers whether its source is a phase or a subphase, so arrows and the critical path always attach to the right item even when a phase and a subphase happen to share the same internal id. Links created before this was recorded are read as pointing to a phase first
- Undo and Redo restore dependency links too, and save them to the server like any other change
Critical Path¶
The Critical Path highlights the longest sequence of dependent phases through a project, showing the minimum time needed to complete it. Items on the critical path have zero slack — any delay to them delays the entire project.
How to Use¶
- Click the lightning-bolt button on the project's row in the project panel (tooltip: Show Critical Path)
- Critical path items are visually highlighted on the timeline
- Click the button again to return to normal view

The critical path is calculated using the Critical Path Method (CPM) algorithm:
- Forward pass: calculates the earliest possible start and finish for each item
- Backward pass: calculates the latest allowable start and finish
- Items where early start equals late start (zero float) are on the critical path
- Chains in which a successor starts before its predecessor finishes (a lead or overlap) are followed to their end instead of being cut short
Tip
The critical path requires dependencies to be set up between phases. Without dependencies, all items have independent float and no critical path exists.
Context Menu¶
Right-click on any item for context-appropriate actions:

| Target | Actions |
|---|---|
| Project | Edit, Delete, Add Phase, Assign Staff, Assign me…, Assign Equipment, View Details |
| Phase | Edit, Delete, Add Subphase, Assign Staff, Assign me…, Assign Equipment |
| Subphase | Edit, Delete, Add Subphase, Assign Staff, Assign me…, Assign Equipment |
| Staff Assignment | Edit Assignment, Remove Assignment |
| Equipment Assignment | Edit Assignment, Remove Assignment |
Actions you are not allowed to perform on that project are shown disabled. Assign me… only appears for people who can't edit the project: it opens the assignment dialog with you and your maximum capacity preset, so you can change the allocation and the dates and add a comment — or, when your booking needs approval, a message for the approver (Request to assign me…) — before booking (see Adding Yourself to a Project). Once you are booked on a phase or subphase it reads Assign me again… and the dialog places a second booking unless you pick its dates; on a project it reads Assigned to me, and while a request of yours on the item awaits approval, Assignment requested (both greyed out). On your own staff assignment, Edit Assignment and Remove Assignment are available to you on any project. Edit Assignment is greyed out while the booking awaits approval or carries an open change request; the same booking opened from My Work shows its dialog read-only, with the reason. The dialog of a staff booking also holds its comment thread — the card's thread for a phase or subphase, the project's for a project-level booking.
Archived Projects¶
Completed or dormant projects can be archived so they no longer clutter the Gantt chart, without deleting their data:
- Edit the project and tick the Archived checkbox, then save.
- The project disappears from the Gantt and moves to the Archived view (sidebar).
- To restore it, open the Archived view, click the project's edit button, untick Archived, and save — it reappears on the Gantt with all phases, assignments, and history intact.

Archived projects are excluded from the Gantt chart and the cross-site overview, but they remain in the database and are included in the full site Excel export (with an Archived column).
Live Updates and the Offline Badge¶
Changes made by colleagues appear in your chart automatically, a moment after they save. While that live connection is down — your network dropped, the server restarted, or a proxy blocks WebSockets — an Offline badge appears in the header. Your own edits still save normally; only other people's changes stop arriving. The connection is retried automatically, and immediately when your network comes back or you switch back to the browser tab.
A drag or resize in progress is no longer interrupted when a colleague's change arrives, and text you are typing in the phase, subphase and assignment dialogs is kept.
What-If Mode on the Gantt¶
What-If mode is entered from the Gantt chart and stays there: while a plan is open, the other views and Settings wait until you apply or discard. In it you can move, resize, edit and delete freely; nothing is saved until you Apply. Creating new projects, phases, subphases, assignments, absences and equipment blocks is unavailable in What-If mode (the controls are disabled with an explanation). If Apply fails part-way, a banner in the header shows how many changes were applied and offers Retry, Discard and Dismiss — see What-If Planning.
Kanban Board¶
The Kanban board shows a project's work as cards moving through four columns. It is not a separate plan — it is the same data as the Gantt chart, seen differently. Move a card and the Gantt chart updates; change a percentage in the Gantt chart and the card moves. There is nothing to keep in sync by hand.

Open it from Kanban Board in the sidebar (shown when your role has the Kanban board permission — every built-in role does).
What becomes a card¶
A card is a piece of work with nothing nested inside it:
| In the Gantt chart | On the board |
|---|---|
| A subphase with no children | A card |
| A phase with no subphases | A card |
| A phase that contains subphases | A swimlane, not a card |
| A subphase that contains other subphases | Neither — it appears in the card's breadcrumb |
Milestones are cards too, marked with a small diamond.
Parent phases have their own percentage
A phase that contains subphases is a lane on the board, so its own completion percentage is not shown there. If you set such a phase to 80% in the Gantt chart, the board will not appear to change — the cards inside it are what the board tracks.
The four columns¶
| Column | What it means | Effect on % complete |
|---|---|---|
| To Do | Not started | Sets it to 0% |
| In Progress | Under way | Keeps a percentage between 1 and 99; otherwise starts it at 50% |
| Blocked | Stalled on something | Leaves the percentage alone |
| Done | Finished | Sets it to 100% |
It works the other way too. Editing the percentage in the Gantt chart moves the card: 0% goes to To Do, 100% to Done, and anything between to In Progress.
Blocked is deliberately sticky. A percentage cannot express why work has stalled, so editing the percentage of a blocked card leaves it blocked. Move it out of Blocked yourself when the obstacle clears. Setting it to 0% or 100% is unambiguous and will move it.
Moving cards¶
Drag a card to another column, or open it and pick a status.
You can move a card if your role may move any card (admins and superusers by default), if you are the project manager of the card's project, or if you are assigned to that card and your role may move the cards you are assigned to (every built-in role). A booking still awaiting approval does not count as being assigned. Cards you cannot move are not draggable. Being assigned lets people report progress on their own work without being able to reschedule the plan.
Choosing what to show¶
The project picker chooses the board. All projects shows everything active at the site at once, which is the natural companion to grouping by project or filtering to My Todo. The Filter button next to the picker narrows the board to projects holding the selected dropdown-field items and tags — the same filter as in the Gantt chart, remembered per site (see Filtering projects). The board's grouping does not offer project fields.
Projects appear in the same order as the Gantt chart, including any custom order you have dragged them into there.
Grouping into swimlanes¶
The grouping menu in the toolbar splits the board into rows:
- No grouping — one set of columns for everything shown.
- By project — one lane per project, in Gantt order. Most useful with All projects.
- By phase — one lane per top-level phase. When several projects are shown, lanes are labelled Project — Phase so two phases with the same name stay apart.
- By assignee — one lane per person, plus an Unassigned lane at the bottom. A card with several assignees appears in each of their lanes.
- By a custom column — one lane per option of any list-type custom column, plus (none).
Click a lane heading to collapse it.
My Todo¶
The My Todo toggle hides every card you are not assigned to. Cards you have asked to join, still awaiting approval, are included. (For your bookings and approval requests across every project, see My Work.) Combine it with All projects to see everything on your plate across the site at once, or with grouping by phase to see where your own work sits in one plan.
Assigning people — and booking their time¶
Open a card and add someone under Assignees. This is not just a label:
Assigning books capacity
Assigning someone creates a real staff assignment covering the card's dates, at that person's maximum capacity. It shows up immediately in the Staff workload view, and it counts towards over-allocation.
Someone assigned to five overlapping cards is booked at five times their capacity and the workload heatmap will show it. If you want lightweight ownership without booking time, say so in a comment instead.
The Add someone… dropdown opens with a search box — type to find a person (how the pickers work) — and each row notes what that person will be booked at, such as books 80%. Because the booking takes its dates from the card, rescheduling the bar in the Gantt chart moves the booking with it — you never have to adjust it separately. Removing someone from a card releases the booking.
In the Gantt chart a booking can also be given its own dates inside the phase, and a person can hold several such bookings on one phase. The card still shows that person once (hover the avatar to see every allocation), while the card's detail lists one line per booking, with the dates of each booking that has its own. Each line has its own ×, so bookings are removed one at a time; the confirmation names the dates of the booking you are removing.
The Assignees dropdown also lists the people already on the card, marked — already on this card. Adding one of them books them a second time, placed automatically: a booking that covers the whole card is split in half (they keep the first half, the new booking gets the second), otherwise the new booking takes the largest free stretch of the card. When their bookings already cover the whole card, the dialog says This person's bookings already cover the whole card — shorten one of them first. The person's notification names the dates of the new booking and, after a split, how their earlier one was shortened. Join this card stays one per person: to book yourself a second time, use Assign me again… in the Gantt chart.
Changing how much time is booked¶
Someone is booked at their full capacity to begin with, which is rarely what you want for a card they are only partly on. Each assignee has a slider beside their name: drag it and the booking changes as soon as you let go, in the Gantt chart and the workload heatmap alike. It is the same control as the allocation slider in the Gantt chart — the same 5% steps, the same range — so a booking means the same thing whichever view you set it from.
A slider shown in red is above that person's own maximum capacity: a part-timer at 60% booked onto a card at 80%. That is allowed; it is the heatmap that tells you what someone's whole workload adds up to.
A single booking is always between 1 and 100 % — the server rejects 0 or anything above 100, here and on every other assignment. Over-allocation is what several overlapping bookings add up to, never one booking on its own.
Adding, removing and changing other people's bookings requires Assign and manage anyone (superusers by default) or being the project's manager. Your own booking is yours to manage when your role allows it: you can change your allocation with your slider and remove yourself with the × on your row (one × per booking when you have several on the card). Removing an assignee asks for confirmation first, because their booking is deleted with them.
Adding assignees and joining a card are unavailable in What-If mode, like other creates. What-If itself is entered from the Gantt chart; while a plan is open the board waits until it is applied or discarded.
Joining a card yourself¶
If you can't manage the project, the card's detail shows a Join this card button as long as you are not on it yet (and your role lets you book yourself). Joining books your time exactly like being assigned by a manager — the card's dates, at your maximum capacity — and lets you move the card from then on. A first booking on a card, joined or added by a manager, has its own dates (the card's) rather than following the card: it is fitted inside the card when the card changes, never stretched; pin it in the Gantt chart to make it follow the card. Removing yourself releases the booking again.
Joining and leaving with approval¶
When your role books your own time with approval, the button reads Request to join:
- Your avatar appears on the card with a dashed ring and (pending approval), and the card shows a Pending approval badge for you. The booking does not count in the workload yet, and you cannot move the card until you are approved
- Moving your own slider sends a change request instead — the slider stays put and requested 60% appears beside it. Clicking × asks Ask to leave this card? and sends a removal request
- While your request is open, your row shows Cancel request instead of the slider and ×
People who may decide the request see Approve and Reject on that row of the card. Every request also appears in their My Work, and you are notified of the decision.
Comments and mentions¶
Every card has a comment thread. It is the same thread as in the assignment dialog of a booking on that phase or subphase, so a comment posted in either place shows in both. Anyone who can see the project can read it; anyone whose role may comment on cards can comment — every built-in role. You can delete your own comments (after a confirmation); roles that moderate comments (admins and superusers by default) can delete any.
When a user account is deleted, their comments stay on the card and are shown as written by Deleted user.
A card with comments shows a small speech-bubble count on the board.
Mentioning someone¶
Type @ and the list opens: people already assigned to this card first, then everyone else who works at the card's site — any role, administrators included. Keep typing to filter, then pick with the arrow keys and Enter, or click.
Only names you pick from the list notify anyone
A picked mention is highlighted in the comment box. A name you simply type out is ordinary text and notifies nobody, however correctly it is spelled — the highlight is what tells you the difference.
Editing a highlighted mention removes the highlight, and with it the notification. That is deliberate: what you see is always what will happen when you post. Note that undoing the edit brings the text back but not the highlight — retype the @ to pick the person again.
Who you can reach:
- Everyone at the card's site, whatever their role — administrators and project managers included, not just the people booked on the card.
- Administrators from any site — and anyone whose role sees every site. They can see every project, so they can always be mentioned.
- Not people from other sites, unless they are assigned to this card. Someone who cannot see the project would only be confused by the notification.
- Not yourself. You would never be notified anyway, so it is left out rather than showing a mention that does nothing.
- Not deactivated accounts, since they cannot sign in to read the notification.
Notifications¶
The bell in the header shows unread notifications. You are notified when someone:
- assigns you to a card,
- comments on a card you are assigned to,
- mentions you in any comment,
- moves a card you are assigned to into another column,
- asks for your approval to book themselves or decides your own request — these lead to My Work,
- books you, changes or removes your booking, or moves or deletes a card you are booked on,
- changes a project you manage (bookings, equipment, project details, phases and subphases, an approval).
The last two go only to the booked person and the project manager. Several changes by the same person on the same project merge into one unread line while each comes within ten minutes of the previous one (so one line can span a long editing session) — see Notifications for the full list.
You are never notified about your own actions. If you are both assigned to a card and mentioned in a comment on it, you get the mention only.
Clicking a card notification opens that card's board and detail (if your role has the Kanban board; otherwise the project on the Gantt chart); a project notification opens the project on the Gantt chart; an approval notification opens the matching tab of My Work.
The × beside a notification deletes it, and Clear all at the top of the panel deletes every notification in your inbox after a confirmation — for you only; nobody else's inbox changes. A notification you have read disappears by itself 30 days later; unread ones stay until you read or delete them. See Notifications.
Turning the board off
An administrator can turn the Kanban board off for the whole workspace in Settings → Features & defaults. Nobody then sees the board or its sidebar entry, whatever their role — administrators included. Comments stay stored and can still be read and added from the assignment dialog of a booking on the card, My Work keeps working (its card links become plain text), and card notifications open the Gantt chart instead.
Due and overdue reminders work differently
Reminders for cards that are due within a week, or already past their end date, are worked out in your browser from the plan you already have loaded. They need no configuration and appear alongside the other notifications.
The trade-off: they only appear while you have the application open. There is no email or push notification, and nothing arrives overnight. Dismissing one — opening it or clicking its × — is remembered in your browser; if the card is rescheduled and becomes due again, it will remind you afresh. Clear all leaves these reminders in place.
What gets exported¶
The site export includes a Kanban status column on the Projects sheet and a Card comments sheet (which also holds the project threads of project-level bookings). Notifications are not exported — they are personal inbox state rather than project data.
My Work¶
My Work gathers your own work outside the boards: booking requests you can decide, your bookings, and the requests you have sent. Open it from My Work in the sidebar, just below the Kanban Board. Everyone signed in has it.
The sidebar entry carries a badge with the number of requests waiting for your decision (up to 99+). It updates live — when someone sends you a request, or a request you could decide is decided by someone else, the badge and the lists change without a reload.

The Three Tabs¶
| Tab | What it lists |
|---|---|
| My Approvals | Booking requests you may approve or reject — see Approvals |
| My Assignments | Your bookings: the projects, phases and subphases you are booked on |
| My Requests | Requests you sent to book yourself, change your booking or leave a card, with their outcome |
Each tab shows how many items it holds: requests to decide, current and upcoming bookings, and pending requests. My Assignments opens first.
My Approvals¶
Each request reads like a sentence — Diana Davis wants to join Analytics of Bioprocess Scale-Up at 50%, … wants to change their booking: allocation 40% → 60%, … wants to leave … — with its card (which opens the Kanban card) and how long ago it was sent. When the requester wrote a message for the approver, it is shown in quotes under the request, with any @-mentions as names; the notification you received carries its beginning.
- Approve applies the booking at once: a new booking stops being pending and counts towards the person's workload, a change takes the requested values, a removal deletes the booking. Approving a new booking also adds the requester's message to the booking's comment thread as their comment — when their role may comment — and notifies the people it mentions (never you)
- Reject opens a small dialog for an optional reason, which the requester sees under My Requests
If the booking can no longer apply — the card was deleted, the person was already booked there, someone changed the booking in the meantime — approving closes the request as Expired and says why, instead of applying it.
You only see requests for projects at sites you can see, never your own. Who may decide what is set by an administrator in Settings → Roles → Approvals; administrators can always decide.
The same requests can be decided where the booking is: from the booking's right-click menu in the Gantt chart (Approve request, Reject request…) or in the Kanban card's assignee list.
My Assignments¶

One line per booking you hold, across every project you can see — on a whole project, on a phase or on a subphase — soonest first. Each line shows:
- the project and its site
- the phase or subphase (which opens the Kanban card, if your role has the Kanban board), or Whole project for a project-level booking
- the dates and the allocation
- a pin when the booking follows its phase's dates (see Bookings on Phases and Subphases)
Upcoming (the default) shows the bookings that have not ended yet; All adds the past ones. Bookings on archived projects are left out, and bookings still waiting for approval are under My Requests, not here.
Open shows the booking in its assignment dialog, as the Gantt chart's Edit does: you can change it there if your role lets you, and read and add comments. The dialog opens read-only, with a note saying why, when the booking cannot be changed: Your change request on this booking is open (wait for the decision, or cancel it under My Requests), This booking awaits approval, or You cannot change this booking. The comments stay usable either way.
Comments on a Booking¶
The assignment dialog of a booking carries a Comments section:
- for a booking on a phase or subphase, it is the card's own thread — the same comments as in the Kanban card dialog, whichever of the two you post from;
- for a project-level booking, it is the project's thread, shared by everyone booked on the whole project.
Type @ to mention someone: they are notified, and so are the people booked on the card (or, for a project thread, on the whole project). Posting a comment never saves or closes the booking. Commenting needs the comment on cards permission (every built-in role); reading a thread only needs to see the project, so it works with the Kanban board turned off too.
A comment written when the booking was made — in the assignment dialog, or a request's message once approved — opens the thread like any other comment.
A project thread is read from the dialog of a project-level booking. Someone you mention there who is not booked on the whole project gets the notification, which opens the project on the Gantt chart, but has no dialog to read the thread from.
My Requests¶
Every request you sent appears here with its outcome:
| Outcome | Meaning |
|---|---|
| Awaiting approval | Nobody has decided yet. Cancel request withdraws it |
| Approved by name | The booking is applied |
| Rejected by name | Nothing changed; the approver's reason, if any, is shown under the request |
| Withdrawn | You (or an administrator) cancelled it |
| Replaced by a newer request | You changed your request before anyone decided; the newer one counts |
| Expired | It could no longer apply — the reason is shown, for example the booking was changed since the request was made |
A request you sent with a message shows it as Your message, apart from the approver's reason.
Pending and decided requests are under Open and Done respectively. Your pending bookings also show where they belong — as dashed rows in the Gantt chart and on the Kanban card.
Notifications¶
Two notification types lead to My Work. Clicking one opens the right tab:
| Notification | Opens |
|---|---|
| Someone asks for your approval | My Approvals |
| Your request was approved, rejected, cancelled by an administrator or expired | My Requests, showing decided requests |
A comment or mention on a card opens the card (or the project on the Gantt chart without the Kanban board); one on a project thread opens the project on the Gantt chart. See Real-Time Collaboration for the notification bell itself, including deleting notifications and the 30-day retention of read ones.
What-If mode
My Work, like the other views, is not reachable while a What-If plan is open, and decisions wait until you apply or discard the plan. Comments in the Gantt chart's assignment dialog still post at once — they are not part of the plan.
Dashboards¶
Dashboards turn the plan into numbers and charts: how many weeks people are booked on each project, how a team's time splits between confirmed and unconfirmed work, how full each team and each instrument is, which phases are late, how many projects run at each site. A dashboard is a page of widgets — KPI tiles, gauges, bar, line and pie charts, heatmaps, treemaps, sankey diagrams and tables: nine kinds, see Chart Kinds — that anyone allowed can open, and that people who build dashboards can arrange, duplicate and share.
Open it from Dashboards in the sidebar, just below My Work. The entry needs the Dashboards permission (Superuser and User by default, see Roles & Permissions).

Opening a Dashboard¶
Dashboards in the sidebar, below Equipment, opens the view on the dashboard you looked at last. Under it the sidebar lists every dashboard you can open — click one to go straight to it; the one on screen is highlighted. The arrow at the right of the Dashboards entry folds the list away or shows it again, and Milestone remembers your choice in this browser. With the sidebar reduced to icons, only the Dashboards entry is shown.
Inside the view, the Dashboard picker at the top lists them too, in this order:
| Label | Which dashboards |
|---|---|
| Default | The Overview, shared with everyone |
| Mine | The dashboards you built, whoever you shared them with |
| Shared by name | Dashboards someone shared with you — with your role, one of your sites, one of your teams or you by name (Shared with me when the owner's account is gone) |
| Shared with no one left | Your own dashboards (and, for administrators, anyone's) shared with roles, sites, teams or people that have all been deleted since |
| Everyone | Dashboards shared with everyone who can open the view |
Type in the picker's search box to find one by name. Milestone remembers the last dashboard you opened and shows it next time.
Refresh recomputes every widget. You rarely need it: when someone changes a project, a booking, a team, a project field, an absence, a bank holiday or site closure, an equipment booking or block, the open dashboard updates by itself within a couple of seconds.
Everyone Sees Their Own Numbers¶
A dashboard is a set of questions, not a copy of the answers. Each viewer gets the answers for the sites they can see: a colleague who works only at Frankfurt sees Frankfurt figures on the same Overview where an administrator sees every site. Archived projects are left out unless a widget asks for them.
A widget can need a permission you do not hold — the capacity measures, a breakdown by person and the People filter need the Staff & Calendar permission — a capacity measure broken down by person or filtered to People also needs See colleagues' absences, since its days off are their absences; the equipment measures, a breakdown by equipment or equipment type and the Equipment filters need the Equipment view permission; a widget that includes archived projects needs Archived projects. Such a widget shows This widget needs the Staff & Calendar view permission (or the Equipment view permission, the Archived view permission, the Absences permission) in place of its chart; the rest of the dashboard works as usual.
The Two Built-in Dashboards¶
Every Milestone instance starts with two dashboards, both shared with everyone. People who build dashboards can Duplicate either one and adapt the copy. Only an administrator can change or delete them; once deleted, a built-in dashboard does not come back.
Overview¶
The Overview is the default dashboard (listed under Default in the picker):
| Widget | What it shows |
|---|---|
| Active projects | Projects whose dates touch this year |
| Confirmed share | The share of those projects that are confirmed |
| Booked weeks this year | Planned person-weeks on all projects this year |
| People booked | How many different people have a booking this year |
| Booked weeks per project | The ten projects with the most booked weeks this year |
| Booked time per team by Confirmed | Each team's booked time this year, split 100 % between confirmed and unconfirmed projects |
| Booked weeks per month | Booked weeks in each of the last 12 months |
| Projects by site | This year's projects per site |
Capacity and flows¶
Capacity and flows (listed under Everyone) shows the customer absorption and three of the larger chart kinds on the bookings:
| Widget | What it shows |
|---|---|
| Customer absorption this year | A gauge of a calculated widget: the weeks booked on customer projects over 70 % of the people's capacity this year. 100 % means the 70 % absorption goal is met (green from 100 %, amber just below) |
| Booked weeks per team and month | A heatmap: one row per team, one column per month of the last 12 months |
| Booked weeks by site and project | A treemap: one box per site, split into its projects, this year |
| Project to team flows | A sankey: the eight projects with the most booked weeks (the rest as Other) flowing to the teams that work on them |
The Overview needs no permission beyond Dashboards. In Capacity and flows, the absorption gauge reads capacity and needs the Staff & Calendar permission (the User and Superuser roles hold it by default). A role without it sees the permission message on that tile and the other widgets as usual.
An instance that already had dashboards before 2.6.0 gets the absorption gauge once, at the bottom of its built-in Capacity and flows (also when the dashboard was edited). Deleting the gauge, or the dashboard, is final: the upgrade does not add it again.
With the Demo Data¶
A tenant seeded with the demo data — the demo tenant of the Codespaces and screenshot setups, and any tenant an administrator provisions in the admin portal with the Seed demo data option — gets the same two dashboards with a few more widgets:
- the Overview adds Share of time by Project type per team and Booked weeks by Area, over the demo's two project fields;
- Capacity and flows starts with Utilisation this quarter, a gauge of the quarter's utilisation with a target of 85 %, above the absorption gauge and beside the heatmap.
Like the absorption gauge, the utilisation gauge needs the Staff & Calendar permission. Two of the demo's internal projects have no customer, so the absorption differs from plain utilisation.
Chart Kinds¶
A widget is one of nine kinds. Each takes one measure and up to two dimensions (how the measure is broken down, see The Widget Editor); the editor offers only the dimensions a kind can draw and says in the preview when something is missing.
| Kind | What it shows | Dimensions | Refused measures | Options |
|---|---|---|---|---|
| KPI | One figure in large type, or the share of one value (a Bucket) | At most one, to show a share | — | Number format; the bucket for a share; Target and Show as % of target |
| Gauge | One figure on a dial, against a target | None | — | Target, Target is a goal, Show as % of target and the number format |
| Bar | One bar per value of the first dimension, split by the second | Up to two | — | Stacked or 100 % bars, horizontal or vertical, number format |
| Line | One line per value of the second dimension, along the first (usually a period) | Up to two | — | Legend, number format |
| Pie | Slices of the whole | Exactly one | Available days | Legend, number format |
| Heatmap | A grid of coloured cells: rows by one dimension, columns by the other | Exactly two | — | Number format |
| Treemap | Boxes sized by the measure: one per value of the first dimension, split by the second | One or two, no period | Utilisation, equipment utilisation, available days, people over capacity | Number format |
| Sankey | Flows from the values of the first dimension to those of the second, as wide as the measure | Exactly two, no period | Utilisation, equipment utilisation, available days, people over capacity | Number format |
| Table | The figures as rows and columns | Up to two | — | Number format |
- Gauge: the dial runs from 0 (lower when the value is negative, as available days can be) to a little past the value and the target. With a Target, the scale is green up to the target, amber from the target up to 100 % (for a percentage) or up to 15 % above the target (for days, weeks or counts), and red beyond; the bar showing the value takes the colour of its band, and Target 85 % is written under the figure, in the widget's number format like the figure itself (Target 20 days with Integer). A target of 100 % or more leaves no amber band: a value right at such a target is already red. Without a target the dial has one colour. With Target is a goal the target is something to reach rather than a limit, the same way for every unit: the scale is red below 85 % of the target, amber from 85 % of the target up to it, and green from the target up; the dial still runs a little past the target, so the green zone shows
- Show as % of target (KPI and gauge, with a target above 0): the figure becomes the value divided by the target × 100 — 91 % of target — with the target under it in the measure's unit (Target 70 %). A gauge keeps its bands where the target puts them: the target is now the 100 % mark. Without a target, or with a target of 0, the switch is off and the figure is shown as it is; a value that cannot be computed stays –
- Heatmap: when one of the two dimensions is a Period, the periods are the columns; otherwise the first dimension gives the rows and the second the columns. A colour scale under the grid gives the values; each cell shows its figure when the cells are wide and tall enough. An empty cell means no data for that pair (a utilisation with no capacity there), not zero
- Treemap and Sankey add their values up, so they refuse the four measures that cannot be added (two percentages, available days, which can be negative, and people over capacity), and the Period dimension is not offered. With Top N, the values beyond the N largest of the first dimension become one Other box or node
- A chart with nothing to draw for its period reads Nothing to show for this period
What the Numbers Mean¶
Booked time is planned time — what the bookings in the Gantt chart say, not hours recorded afterwards. The Measures below say what each measure counts; these rules hold for all of them.
- A working day is Monday to Friday, or every day when Weekends are working days is on, except the bank holidays of a site. Booked time counts the working days of the project's site; capacity counts those of the person's sites and equipment availability those of the equipment's sites
- A booking on a phase or subphase counts only inside its card's dates; a booking on the whole project counts over its own dates. Someone booked both on the project and on one of its phases counts twice, as in the Staff & Calendar view
- Bookings waiting for approval are not counted until they are approved
- Counts of projects and phases take those whose dates touch the period (in every month, quarter or year they touch, when broken down by period)
- A breakdown by Team uses the teams of the booked person at the project's site (someone in two teams counts in both; No team otherwise). Project team uses the teams the project belongs to
- A project with two tags, or two items of a multi-select field, appears under each of them; the total counts it once. The widget then says so under its chart. The same goes for a person or an instrument at two sites in a breakdown by Site
- Empty values have their own bucket: No customer, No manager, No tag, No team, No site, No phase (a booking on the whole project), No type (equipment), Not set (a project field)
- A value that cannot be computed — a utilisation with booked time but no capacity in that bucket — shows –, never 0
Measures¶
The Measure list of the widget editor is grouped by family. Each family has its own filters and breakdowns: the editor offers only those that apply.
Bookings¶
| Measure | What it counts |
|---|---|
| Booked days | For each booking, its allocation times the working days it covers inside the period. A booking at 50 % over two working weeks counts 5 days |
| Booked weeks | Booked days divided by 5 (by 7 when Weekends are working days is on) |
| Bookings | Booking rows |
| People booked | Different people with a booking |
Capacity¶
Needs the Staff & Calendar permission. A breakdown by Person and the People filter also need See colleagues' absences (a person's capacity shows the days they are absent); by site, team or period the figures add people up and need the Staff & Calendar permission alone.
| Measure | What it counts |
|---|---|
| Capacity (days) | The days the bookable people can work, at their max capacity: a person at 60 % has 3 days in a full week |
| Capacity (weeks) | The same capacity in weeks: capacity days over the working days of a week (5, or 7 when Weekends are working days is on). Use it with Booked weeks in a calculation |
| Available days | Capacity minus booked days. Negative when someone is booked beyond their capacity |
| Utilisation | Booked days over capacity, in %. Over 100 % means booked beyond capacity |
| People over capacity | Different people whose booked days in the period (or in the bar, line point or cell) are more than their capacity |
- Who counts: every active person marked Bookable as a resource who is a member of one of your sites. Bookings of people no longer bookable, or deactivated, are left out on both sides
- Capacity is the working days (Monday to Friday, or every day when Weekends are working days is on) at their sites minus the bank holidays of those sites, their absences of a type that counts as unavailable (a recurring absence only on its working days; Home Office leaves them plannable) and the site closures that apply to them — the same closures the Staff & Calendar view shows
- Sites and teams are the person's: a breakdown by Site or Team, and the Sites, Teams and People filters, use the person's sites and teams on both sides of the ratio, not the project's. A person at two sites appears under each and once in the total
- Utilisation also takes the project filters — Projects, Project teams, Project managers, Tags, project fields, Confirmed and Has a customer — on its booked side only: the capacity stays that of the people in scope. Utilisation with Has a customer = With a customer is the time booked on customer projects over everyone's capacity; the editor says so under the filters. Capacity (days), Available days and People over capacity do not take them
- The team figure is weighted: a team's utilisation is the team's booked days over the team's capacity, not the average of its members' percentages. A KPI without a breakdown is the weighted figure of everyone in scope
- A bar, line point or cell with booked time and no capacity (everyone off that week) shows –; with neither, 0 %
- Archived projects: bookings on archived projects are left out unless the widget includes them
- Booked time is counted only on projects at your sites: a person you see whose bookings are on a project at a site you cannot see shows less booked time than they have
- Not the same as the Staff & Calendar view: its heatmap shows each day and does not take bank holidays off, while capacity does, and booked days follow the project's site while capacity follows the person's. A person booked on a project at a site with other bank holidays can read slightly over or under 100 %
Projects¶
| Measure | What it counts |
|---|---|
| Projects | Projects whose dates touch the period |
| Project weeks | The working weeks a project lasts inside the period, whoever is booked |
| Project volume | The projects' Volume field, added up |
Phases¶
| Measure | What it counts |
|---|---|
| Phases | Phases whose dates touch the period |
| Phase weeks | The working weeks a phase lasts inside the period |
| Phases due | Phases whose end date lies in the period (a milestone: its date), each filed once, in the month, quarter or year it is due — and the milestones below a phase, at any depth |
| Phases overdue | Phases and milestones due before today that are not Done, filed by their end date |
- Phases and Phase weeks count top-level phases; Phases due and Phases overdue also count milestones below a phase (a milestone subphase of any depth, on its date, under the type of the phase it sits in)
- Break them down by Status (To do, In progress, Blocked, Done — the Kanban columns) or by Phase
- The Milestones filter includes milestones (the default), shows only milestones, or leaves them out. On Phases due and Phases overdue, only counts the milestones at every level; on Phases and Phase weeks, the milestone phases
Equipment¶
Needs the Equipment view permission.
| Measure | What it counts |
|---|---|
| Equipment booked days | The working days of each equipment booking inside the period, at the project's site (a booking is a whole day, there is no allocation) |
| Equipment bookings | Equipment booking rows |
| Equipment booked | Different instruments with a booking |
| Equipment utilisation | Booked days over the instrument's availability, in % |
- Availability is the working days (Monday to Friday, or every day when Weekends are working days is on) at the equipment's sites minus the bank holidays of those sites and its blocks, for every active instrument at one of your sites
- Overlapping bookings add up: two projects booking the same instrument the same week count twice, so utilisation over 100 % flags a conflict. A booking inside a block counts in full too — it is the same conflict
- Equipment utilisation is broken down by Equipment, Equipment type, Site (the equipment's sites, like its Sites filter) or Period; the other equipment measures take the project breakdowns and filters as well
- Booked days follow the project's site and availability the equipment's: a booking from a site with other bank holidays can read slightly over or under 100 %
- Inactive equipment counts in booked days and bookings, not in utilisation
- Booked time is counted only on projects at your sites, like capacity: an instrument at your site that a project at a site you cannot see has booked reads lower utilisation for you than for someone who sees both sites
Has a customer¶
Every measure that reads projects — bookings, projects, phases, equipment bookings, and the booked side of Utilisation — takes the Has a customer filter: With a customer keeps the projects whose Customer field is filled in, Without a customer those where it is empty (spaces alone count as empty, as in the No customer bucket of the Customer breakdown). It needs no permission of its own. When the instance hides the Customer field, the filter is not offered (a widget that already uses it still shows it, so it can be cleared).
Periods¶
This year, Last year, Next year, This quarter, Last quarter, Next quarter, This month, Last month, Next month, Last 12 months, Next 12 months and All time, or a custom range. Quarters and months are calendar ones. Last 12 months and Next 12 months both include the current month: the last 12 end with it, the next 12 start with it.
Calculated Widgets¶
A KPI, a gauge, a bar, a line, a table or a heatmap can show a calculation: turn on Calculation in the widget editor and write a formula with measures, numbers and + − × ÷, brackets and %. For example, Booked weeks · Has a customer / (Capacity (weeks) × 70%).
- Measures are the ones that add up or count: booked days or weeks, bookings, people booked, projects, project weeks, project volume, phases, phase weeks, phases due or overdue, capacity days or weeks, equipment booked days, equipment bookings, equipment booked. Utilisation, Equipment utilisation, Available days and People over capacity are already a ratio, a difference or a count per bar, so they cannot be used (Utilisation is Booked days / Capacity (days))
- Each measure has its own filters: click it in the formula to set them. The same measure can appear twice with different filters (Booked weeks · Has a customer / Booked weeks). The period is the widget's, for every measure
- Numbers are written with a point (
0.7);70%is 0.7 - The result is a Percentage (× 100) or a Number: Show result as
- Breakdowns: any dimension at least one measure accepts, and the period when every measure accepts it. Each bar, row or cell is computed on its own, and the total is the formula over each measure's total (never a sum of the bars). A measure that has no such dimension (capacity has no Project) uses its total in every bar. You can also choose that for any measure in its panel (Use its total), for instance customer weeks per project over the whole capacity. Top N ranks the bars by the formula's value. Percent of and stacked bars are not offered, and a table does not add rows up
- Capacity and booked time together: when a formula contains a capacity measure, booked time is read the way Utilisation reads it, by the person's sites and teams and only for people with capacity. Booked days / Capacity (days) therefore equals Utilisation, overall and by site, team, person or period
- Dividing by 0: a bar or point shows – when the value above the division is not 0, and 0 when both are 0. Any empty value makes the bar –
- Permissions: each measure needs its own permission. A calculation with capacity needs the Staff & Calendar permission, like Capacity itself
Writing a Formula¶

- Turn on Calculation. The field starts with a working formula built from the widget's measure and filters: Booked weeks / Capacity (weeks) for booked time when you hold the Staff & Calendar permission, otherwise the measure alone
- Type. As soon as you type letters, the matching measures open under the field: pick one with the mouse, or with the arrow keys and Enter or Tab (Escape closes the list). Insert measure opens the same list. A measure's full name typed by hand is recognised once you move on. Type operators, brackets, numbers and
%directly;×and÷work like*and/ - Click a measure (or press Enter on it) to set its filters. The panel under the field shows the filters the measure takes and, with a breakdown, Use its total. The measure's name in the formula then reads its filters (Booked weeks · Has a customer; Booked weeks · 3 filters with more than two)
- Under the field, one line shows the formula with its numbers and the result (116.3 ÷ (323.7 × 70 %) = 51.3 %). While the formula cannot be computed, the line says why in plain words, such as "capcity" is not a measure. Did you mean Capacity (weeks)? (click the suggestion to put it in), Missing closing bracket, Use a point for decimals: 0.7 or Something is missing after ÷. The preview then keeps the last result, dimmed, and Add widget waits
- Examples replaces the formula with a ready-made one. Each entry shows, under its name, the exact formula it will put in the field: Ratio of two measures (your measure over a related one, such as Booked weeks ÷ Project weeks), Share of capacity (Booked weeks ÷ Capacity (weeks)), Against a goal (the absorption below), Difference (Capacity (weeks) − Booked weeks, the free capacity) and Sum (Phases due + Phases overdue). The capacity examples are greyed out, with the reason, without the Staff & Calendar permission. It asks first when you have changed the formula
- Turning Calculation off goes back to a plain widget of the formula's first measure, with its filters (after a confirmation when you have changed the formula)
Example: absorption¶
Absorption is the time booked on customer projects over the people's capacity, measured against a goal such as 70 %. The built-in Customer absorption this year gauge is this formula:
Booked weeks · Has a customer / (Capacity (weeks) × 70%), shown as a Percentage, period This year, on a gauge with Target 100 and Target is a goal.
On the demo data, as an administrator who sees both sites, 116.3 customer weeks over 323.7 capacity weeks gives 116.3 ÷ (323.7 × 0.7) = 51.3 %: the team reaches half of its absorption goal, in red. The same formula as a bar by Team shows each team's absorption, and as a line by month it shows the year month by month. Against a goal in Examples builds it in one click, and on a gauge it also sets the target and the goal band.
Building a Dashboard¶
Building dashboards needs the Manage dashboards permission (Superuser by default). The buttons beside the picker:
| Button | What it does |
|---|---|
| New | Asks for a name, an optional description and who sees it, then opens the empty dashboard for editing |
| Duplicate | Copies the open dashboard as a private Copy of … and opens it for editing |
| Edit | Lets you rename the dashboard, change its description and move, resize, add, change and remove widgets (your own dashboards; administrators: any) |
| Share… | Changes who sees it |
| Delete | Deletes the dashboard and its widgets, after a confirmation |
Editing the Layout¶
While you edit, the toolbar shows Undo, Redo, Add widget, Save and Cancel, and the status beside the picker reads Editing — Editing — unsaved changes once you change something.
- Rename the dashboard and change its description in the two fields above the widgets (Name is required, up to 100 characters; the description up to 2000). Clearing the name and clicking Save shows Enter a name and saves nothing
- Move a widget by dragging its header
- Resize it from its bottom-right corner: making it wider or narrower trades width with the widgets beside it in its row, so the row stays full (no widget gets narrower than two columns); making it taller pushes the rows below down
- The edit and remove icons in a widget's header open it in the widget editor or take it off the dashboard
Undo and Redo (or Ctrl/Cmd + Z and Ctrl/Cmd + Y / Ctrl/Cmd + Shift + Z, outside the Name and Description fields) step back and forth through your moves, resizes, added, changed and removed widgets and renames — up to 50 steps — until you save or cancel; the header's Undo and Redo belong to the Gantt chart and are not shown on this view.
Nothing is saved until you click Save. Cancel, choosing another dashboard or leaving the view asks before discarding your changes. A dashboard holds up to 50 widgets.
On a phone (640 px wide or less) dashboards are view-only.
The Widget Editor¶
Add widget (or a widget's edit icon) opens the editor. A live preview on the right shows the real result as you change the settings.

- Kind — KPI, Gauge, Bar, Line, Pie, Heatmap, Treemap, Sankey or Table (see Chart Kinds). A gauge has no dimensions; a heatmap and a sankey need two, and the second dimension field opens once the first is chosen
- Title
- Measure — grouped by family: Bookings, Projects, Phases, Capacity and Equipment (see Measures). The capacity measures are listed only with the Staff & Calendar permission, the equipment measures only with the Equipment view permission. A hint under the list says how the measure counts its days
- Dimension 1 and Dimension 2 — how to break the measure down: Site, Team, Project team, Person, Project, Project manager, Customer, Confirmed, Tag, Phase, Status, Equipment, Equipment type, any dropdown or toggle project field, or Period (by year, quarter, month or week). Only the dimensions that make sense for the measure are offered; a pie takes one dimension, a KPI at most one, a heatmap and a sankey two, a treemap one or two (no Period for treemaps and sankeys), a gauge none
- Filters — only those of the measure's family: sites, teams, project teams, people, projects, tags, field items, confirmed or unconfirmed projects, Has a customer, archived projects for bookings; the same without teams and people for projects, plus Milestones for phases; Sites, Teams and People (the person's) for capacity — and for Utilisation the project filters too, which narrow its booked time only; the project filters plus Equipment and Equipment types for the equipment measures (Sites, Equipment and Equipment types only for equipment utilisation). Changing the measure drops the filters the new one does not take
- Period — one of the twelve periods or a custom range
- Calculation (KPI, gauge, bar, line, table and heatmap) — a formula of measures instead of one measure; see Writing a Formula. While it is on, the formula field takes the place of Measure and Filters, and How calculations work opens this chapter
- Percent of — show shares instead of amounts: of the total, or within each value of the first dimension (each bar adds up to 100 %). Not offered for Utilisation, Equipment utilisation (already percentages), Available days (which can be negative) and People over capacity (counted again in each bar, so the bars are not parts of the total); a KPI of these four shows its figure for the whole period, with no dimension. A treemap or a sankey offers only the share of the total: within each value of the first dimension, every box or left node would add up to 100 % and be drawn the same size. A gauge, which has no dimension, offers neither Percent of nor Top N
- Top N — keep the largest values and group the rest as Other (on a heatmap, treemap or sankey, Other is a row, a box or a node)
- Options — stacked or 100 % bars and their orientation (no stacked or 100 % bars of the four measures without a percentage: a stack of percentages or of negative days adds up to nothing), a legend for lines and pies, the number format. A KPI showing a share needs a Bucket: the value whose share it shows (for example Confirmed). A gauge and a KPI take a Target in the measure's unit (the hint under the field says which: In %, In weeks, …); leave it empty for no target. Only a number from 0 to 1 000 000 000 is kept (
85,12,5); any other text — a negative number, letters — saves the widget without a target, never with the one typed before. Show as % of target (a switch, available once the target is above 0) shows the figure as a percentage of the target. On a gauge, Target is a goal (also once the target is above 0) turns the bands round for a target to reach: green from the target up, amber within 15 % below it, red further below
A pie of Available days is refused (negative days cannot be slices), and so is a treemap or sankey of the four measures that cannot be added up. If the combination cannot be answered, the preview says why in plain words, and Add widget / Save Changes waits until you fix it. A new widget is placed below the others; arrange it on the grid afterwards.
Sharing¶
Share… (and New) set who sees a dashboard:
| Visibility | Who sees it |
|---|---|
| Private | You (and administrators) |
| Shared with… | The people you choose below — anyone who matches one of them sees it |
| Everyone | Everyone who can open the Dashboards view |
With Shared with…, the dialog lists four kinds of target, and you can mix them freely:
| Target | Who it reaches |
|---|---|
| Roles | Everyone holding one of the roles you tick |
| Sites | The members of the site — the people whose user account lists it. Someone who sees every site (an administrator, or a role allowed to see all sites) but is not a member of that site is not reached this way |
| Teams | The members of the team (the team's site is shown beside its name; an inactive team is marked (inactive)) |
| People | The people you name — any active person at your sites, and anyone who sees every site |

Choose at least one target; with none, the dialog shows Choose at least one role, site, team or person. Sharing is view only: the people you share with open the dashboard and see their own numbers, but only you (and administrators) can edit, share or delete it.
Under the dashboard's title, the Shared with line names who sees it — one chip per role, site, team (Team · Site) and person — or reads Shared with everyone, or Only you (and administrators) for a private one. Everyone who can open the dashboard sees that line, with every name on it — including sites, teams and people outside their own sites: the owner chose to share with them, and the line shows names only, never planning data.
A role, site, team or person you shared with that is deleted drops off the dashboard by itself. When every target is gone, the dashboard reads Shared with no one left and only you and the administrators see it. A target you can no longer pick — a person who was deactivated, a site you no longer belong to, a team at such a site — stays on the dashboard, and keeps its access, until you remove it in Share…, where it is marked No longer among your choices.
The sharing changes only through Share…: saving widgets, the name or the description in edit mode never touches it, so a change someone else made in Share… meanwhile is kept, and a target deleted while you were editing never blocks your save.
People reached through a role, site, team or name still need the Dashboards permission to open the view. A custom role does not get it automatically: an administrator allows it in Settings → Roles.
When two people edit the same dashboard at once, the last one to save wins.
Limits¶
- A period covers at most five years. All time runs from the first to the last project in scope; when that is longer than five years it ends at most a year from today and the widget says Period cut to five years. All time spans the projects' dates at your sites: a booking placed outside its project's dates is counted only by a period that covers it
- Bank holidays count only for the years an administrator loaded for the site (see Bank Holidays); in a year without holidays every working day counts (Monday to Friday, or every day when Weekends are working days is on)
- Bookings waiting for approval are never counted
- "Today" and "this year" follow the server's date (UTC)
- The People filter lists the people of the site selected in the header, although a dashboard covers every site you can see
- A gauge has no dimensions, a heatmap and a sankey exactly two, a treemap one or two; widgets built through the API outside these rules are still drawn (a one-dimension heatmap as a single column, for example)
- A calculation has one period: it cannot compare this year with last year. It uses at most six different measures (a measure with other filters counts apart), and its formula is at most 200 characters once the measures are named. Each measure is one more pass over the data
- 1 − a ÷ b reads 100 % on an empty bar, because 0 ÷ 0 is 0
- With a breakdown by Site, a project measure takes the project's site and a capacity measure the person's site; the two meet on the site
- A Number result has no unit of its own
- On a bar or line chart with two dimensions, a category with no data for a series is drawn as 0 (a table leaves that cell empty)
What-If Mode¶
The Dashboards entry is disabled while a What-If plan is open: dashboards always show the saved plan. Apply or discard the plan first.
Staff Management¶
The Staff & Calendar view is a timeline centered on people rather than projects. It shows each staff member's assignments, availability, and time off.

Tip
Everyone who may open the Staff & Calendar view can dock it directly below the Gantt chart via the Panels button — see Resource Panels.
Staff List Panel¶
The left panel lists every person of the site who is bookable as a resource — whatever their role. Administrators are not bookable by default, so they appear only once an administrator turns on Bookable as a resource for them in Settings → Users; people with the switch off are not listed and cannot be booked, but keep the bookings they already have. Each person is shown with:
- Status indicator: Green (available) or Red (overallocated); on a Saturday or Sunday the dot is grey and the row reads Weekend instead of its availability, unless weekends are working days
- Part-time badge: Shows maximum capacity if less than 100%
- Role and allocation: Job title and current total allocation percentage
- Drag handle: Admins, superusers and project managers can drag staff onto the Gantt timeline to create assignments; everyone else can drag their own card when their role lets them book themselves (see Adding Yourself to a Project)
Click the arrow to expand a staff member and see their absences (with each absence's type), recurring absences, and current project assignments. You see the absences of colleagues at the sites you can see, if your role has See colleagues' absences (see Who Sees Whose Absences).
Staff Timeline¶
The right side shows a horizontal timeline with:
- Assignment bars — Colored by project, stacked when overlapping; a booking still awaiting approval is hatched and does not count towards the workload
- Absence blocks — Drawn in the color of their absence type. Only types that count as unavailable reduce capacity; a Home Office day is shown but leaves the person available
- Workload indicator — Solid blocks under each person's bars showing their total utilization (week and month zoom). Consecutive days with the same allocation — or the same absence or closure — are one solid block with one label, also across hidden weekends; long runs are cut into blocks of at most 10 days so a label is always in view. Home Office days show as an underline inside the block, and work booked during a closure or an absence is one 0% block whatever the amount (its tooltip gives the amount or the range). Hover a block for the details, its dates and its Home Office days
- Site closures — Company events marked as closures make the staff of their sites unavailable; see below
- Event strip — The thin strip under the day labels of the timeline header lists every bank holiday and company event of a day, as on the Gantt chart
- Bank holidays and company events — Expandable rows at the bottom. Admins and superusers can click an entry to edit it, or + to add one, in Settings; changes appear for other users straight away

Site Closures in the Workload¶
A company event marked as a site closure takes everyone on the event's sites out of the plan for its dates:
- their workload cells show 0% available, colored with the event's color, and the tooltip reads Site closed: <event name>
- if they have work assigned on those days, the cell is flagged as a conflict (Conflict: N% assigned during site closure), just like work booked during an unavailable absence
- today's availability in the staff list and on the resource cards shows them as unavailable while the closure lasts
Someone who belongs to several sites is unavailable as soon as one of their sites is closed. Bank holidays and plain company events are shown on the timeline but do not reduce capacity.
A closure can be limited to teams: then only the members of those teams are unavailable at that site, and everyone else keeps their normal availability. The event still appears in the Company Events row (unless the header team filter leaves its teams out), but the calendar columns are not shaded as closed.
With the header team filter set, the Staff & Calendar view lists only the people of the ticked teams (or those without a team, with (No team)) and only the company events open to them.
Assigning Staff¶
Admins and superusers (any role with Assign and manage anyone) can assign anyone to any project at the sites they can see. The project manager of a project can do the same on that project. Everyone else can add themselves — directly, or with approval when their role requires it.
New assignments (drag-and-drop, Assign Staff, Assign me…) can't be created while What-If mode is active; existing ones can still be edited, moved and removed there. What-If is entered from the Gantt chart, and the Staff & Calendar view itself is not reachable while a plan is open.
Method 1: Drag & Drop¶
- Grab a staff member by the drag handle in the Staff & Calendar view or the resource panel
- Drag them onto a project/phase/subphase bar on the Gantt timeline
- On a project bar, a five-day assignment at the person's maximum capacity is created where you drop it; on a phase or subphase bar, the person is booked at their maximum capacity with the phase's dates as the booking's own (an unlinked booking, like the assignment dialog's default; click its pin to make it follow the phase). Dropping someone who is already on the phase places a second booking for them. Adjust the dates or allocation afterwards
Method 2: Context Menu¶
- Right-click on a project, phase, or subphase in the Gantt chart
- Select Assign Staff
- The Staff Assignment Modal opens
Assignment Modal¶

- Select a staff member from the dropdown: it opens with a search box — type to find a person (how the pickers work); a person below full capacity carries a note such as 80% capacity, and picking someone sets the allocation to their capacity
- Set allocation percentage (5–100% in 5% increments). The server accepts any whole number from 1 to 100 for a single assignment and rejects 0 or more than 100; over-allocation comes from several overlapping assignments
- Assignment dates are picked on the shared calendar, so the end date can never fall before the start date
- A warning appears if the assignment would exceed capacity
- A new phase/subphase assignment starts with its own dates, the phase's: Follow the phase dates is off and the dates are filled in. Change them inside the phase (the calendar only offers days within it), or turn the switch on to pin the booking to the phase so it follows it when it moves. A booking with own dates is fitted inside the phase when the phase changes — clipped, never stretched. Editing a booking with the switch on makes it follow the phase — the same as clicking its pin in the Gantt chart
- When you pick someone already booked on the phase, the switch turns on by itself and the dialog says the new booking is placed automatically; once you have touched the switch, it keeps your choice whoever you pick
- The same person can be booked several times on one phase or subphase with own dates that do not overlap — for example a few days at the start and a few at the end. Own dates that overlap another of their bookings are refused. With Follow the phase dates on (the default for someone already on the phase), a second booking is placed automatically: it splits a booking that covers the whole phase in half or takes the largest free stretch, and is refused only when their bookings already cover the phase. The bookings are grouped under an overview row in the Gantt chart
- Project-level assignments allow custom start/end dates
- A new booking can carry an optional Comment (optional): it is added to the booking's comment thread (the card's for a phase or subphase, the project's for a project-level booking) as your comment, and the people you
@-mention and those booked on the card are notified; the person you booked and the project's manager see it in their booking notification instead. The field shows only if your role may comment (comment on cards, every built-in role). Enter adds a line and never saves the booking. When you request a booking, the field reads Message for the approver (optional) instead - Editing a staff booking also shows its Comments — the card's thread for a phase or subphase (the same as on the Kanban card), the project's thread for a project-level booking; type
@to mention someone. Posting a comment never saves the booking. See Comments on a Booking - A booking you cannot change opens read-only, with a note saying why: someone else's booking still awaiting approval, your own booking while your change request on it is open, or a booking your role does not let you change. The comments stay usable
Adding Yourself to a Project¶
With the default roles, anyone — including users with the plain User role — can book their own time on a project, change it and withdraw it again, without being able to assign other people. An administrator can change that per role in Settings → Roles: booking yourself, changing your booking and removing it can each be allowed, need approval (see below) or be denied — then the matching menu entries and buttons are hidden.
- Right-click a project, phase or subphase in the Gantt chart and choose Assign me…. The assignment dialog opens with You as the staff member and the allocation preset to your own maximum capacity: adjust the percentage, add an optional comment, then click Assign me. On a project the dates are the project's and can be changed; on a phase or subphase the booking gets its own dates, the phase's, which you can narrow inside it (turn Follow the phase dates on to pin it to the phase instead). Saving without changing anything books you at your maximum capacity, for the item's dates. Once you are on a phase or subphase the entry reads Assign me again…: the dialog says you are already booked, and unless you turn the switch off to pick the dates, the second booking is placed automatically (the second half of your booking that covers the whole phase, or the largest free stretch); if it does not fit, the dialog shows why and stays open. On a project it reads Assigned to me (greyed out) once you are on it
- Drag your own card from the Staff & Calendar view or the resource panel onto a project, phase or subphase bar — on a project this creates a five-day assignment at your maximum capacity where you drop it (in quarter and year views, starting at the day under the pointer); on a phase or subphase it books you with the phase's dates as your own (unlinked; dropping again places a second booking). Only your own card can be dragged
- On the Kanban board, open a card and click Join this card
- On your own assignment row you can change the allocation with the slider, move or resize your own assignment bar (on a phase or subphase once it has its own dates), and remove the assignment. Edit Assignment in its right-click menu opens the assignment dialog with the staff member fixed to You
If you are not bookable as a resource (see Settings → Users), Assign me…, Join this card and dragging your own card are hidden, and the assignment dialog explains that you cannot book your own time. Your existing bookings can still be changed and removed.
Assigning or editing someone else still needs Assign and manage anyone (superusers by default) or being the project's manager.
Booking Yourself When Approval Is Required¶
If your role books your own time with approval, the same actions send a request instead of booking you straight away:
- In the assignment dialog, Message for the approver (optional) lets you say why: the approvers see it with the request (in their notification and in My Approvals), and once the request is approved it is added to the booking's comment thread as your comment — if your role may comment; otherwise it stays with the request. A rejected or withdrawn request keeps it to itself
- The right-click entries read Request to assign me… (Request to assign me again… for a second booking on a phase): they open the assignment dialog, where you set the allocation and write the message for the approver before clicking Request to assign me. The other entries read Request to join (Kanban card), Request change and Request removal. After sending, Sent for approval appears
- A new booking shows at once as a dashed row with a Pending approval badge, and a hatched bar on the timeline. Hover the badge to see who can approve it. Until it is approved it is not counted in the workload heatmap, the availability or the resource cards, and it does not make you an assignee of a Kanban card
- A requested change keeps the booking as it was and shows the old and new values (40% → 60%, Change pending); a requested removal shows Removal requested. Giving a phase booking its own dates, changing them or making it follow the phase again (the pin, or the assignment dialog) is a change too, and the request carries the dates. The bar stays where it is and cannot be dragged while the request is open
- While a request is open, right-click your row and choose Cancel request to withdraw it (or Cancel request on the Kanban card). The rest of the row stays locked until the request is decided

Approvers — the project's manager and the roles chosen in Settings → Roles → Approvals, and always administrators — get a notification. They can decide from My Work, from the Kanban card or right here: right-click the dashed row and choose Approve request or Reject request… (with an optional reason). Approving turns the row into a normal booking; rejecting removes it. You are notified either way. A request for a second booking on a phase you are already on carries the dates it was placed at; your existing booking is not split until the request is approved, and approving works the placement out again from the bookings at that moment — if there is no room left by then, the request closes as Expired.
People who can manage anyone's bookings — and project managers on their own projects — never need approval, not even for themselves.
Filtering Staff¶
Click the Filter dropdown to filter by:
- Role — Multi-select checkboxes (e.g., Research Scientist, Lab Technician)
- Skills — Multi-select with colored dots matching each skill's color
- Clear All — Reset all filters
The header shows filtered/total count (e.g., "12/20 staff") when filters are active.
If an administrator set default skills in Settings → Features & defaults, the Staff panel below the Gantt chart opens with those skills already ticked; change or clear them as usual. The Staff view itself opens unfiltered.

Staff Notes¶
Staff notes are short, date-pinned annotations attached to a site — for example "Covering weekend shift for stability study sampling" — optionally linked to a specific staff member. They are useful for recording scheduling context that doesn't belong in an assignment or vacation entry.
Notes are currently managed through the API (GET /api/notes to list; creating and deleting need the Manage staff notes permission, superusers and admins by default) and are included in the Staff notes sheet of the full site Excel export, so they travel with the rest of your site's data in backups and migrations. A dedicated notes UI is not available yet.
Equipment Booking¶
The Equipment View provides a timeline for tracking equipment availability and bookings across projects. It can be accessed from the sidebar or embedded below the main Gantt chart via the Panels toggle.

Tip
Everyone who may open the Equipment view can dock it directly below the Gantt chart via the Panels button — see Resource Panels.
Equipment on Several Sites¶
Like staff, a piece of equipment can belong to several sites — a shared instrument is entered once and linked to every site that uses it. It then:
- appears in the Equipment view, the Equipment panel and the booking lists of each linked site;
- can be booked by projects on any of those sites;
- keeps a single set of maintenance blocks, which apply on every linked site.
Which sites an item belongs to is set in Settings → Equipment. Deleting a site only removes its link: equipment still linked to another site is kept, and only equipment left with no site at all is deleted.
Equipment Limited to Teams¶
At a site that has teams, an item can be limited to some of them: in the equipment form, switch off Whole site under that site and tick the teams. The limit is per site — the shared Mass Spectrometer in the demo is limited to the Analytical Lab at Winterthur and open to everyone at Frankfurt.
The limit is used by the header team filter: with teams ticked there, the Equipment view, the Equipment panel and the booking and maintenance-block pickers show the site's open equipment plus the items limited to one of the ticked teams. With Whole site, everything is shown. Equipment limited only to an inactive team is hidden under any team filter. The limit does not stop anyone from booking the item.
Equipment List Panel¶
The left panel lists all equipment items for the selected site with:
- Status indicator: Green dot (available) or Red dot (currently booked)
- Equipment name: Primary identifier
- Type and status: Equipment type badge and "In use" / "Available" label
- Drag handle: Admins, Superusers and project managers can drag equipment onto the Gantt timeline to create bookings (a project manager only onto their own projects)
The panel is resizable — drag the divider between the panel and timeline (200px–500px).
Equipment Timeline¶
The right side shows a horizontal timeline with booking bars:
- Bars are color-coded by project for easy identification
- Multiple bookings can overlap on the same equipment, displayed as stacked bars
- Click any booking bar to edit the assignment (dates, equipment)
- Timeline zoom and date navigation sync with the main Gantt chart when embedded
Booking Equipment¶
Method 1: Drag & Drop¶
- Grab an equipment item by the drag handle in the Equipment panel
- Drag it onto a project, phase or subphase bar on the Gantt timeline
- A five-day booking is created where you drop it — click it afterwards to adjust the dates. Equipment is always booked on the project: dropped on a phase or subphase, the booking takes the dropped days and shows on the project's row
Method 2: Context Menu¶
- Right-click on a project, phase, or subphase in the Gantt chart
- Select Assign Equipment
- The Equipment Assignment Modal opens
Assignment Modal¶

- Select the equipment item from the dropdown: it opens with a search box that finds an item by its name or its type (how the pickers work)
- Set start and end dates for the booking
- Add an optional Note (optional) — up to 2 000 characters, for example what to prepare. It is kept with the booking: shown when you edit it, in the project manager's notification of a new booking, and in the site export. Empty the field and save to remove it; changing only the note notifies nobody
- Click Save to confirm. Opened from a phase or subphase, the equipment is booked on its project
Filtering by Type¶
Click the filter button in the Equipment panel header to filter by equipment type:
- A dropdown shows all available types as checkboxes
- Check types to show (e.g., Analytical, Pilot Plant, Safety)
- Use Select All / Clear for quick selection
- The filter button shows the active count when filtering (e.g., "3 types")
If an administrator set default equipment types in Settings → Features & defaults, the Equipment panel below the Gantt chart opens with those types ticked (and again when you switch site); change them as usual. The Equipment view itself opens unfiltered.
Managing Equipment¶
Open Settings → Equipment from the sidebar's Settings entry (Admins and Superusers only).

The list can be filtered by Site (or All Sites); an item linked to several sites shows them all, comma-separated, in the Sites column.
Adding Equipment¶
- Click Add Equipment
- Fill in:
- Name (required, e.g., "Pilot Plant A", "Mass Spec 1")
- Type — select an existing type or click + New type to create one inline
- Sites (required) — click every site where the equipment can be booked; at least one. The site you are filtering on (or viewing) is preselected
- Teams (optional) — under each selected site that has teams, leave Whole site on or limit the item to some teams (see Equipment Limited to Teams)
- Click Create Equipment
Editing Equipment¶
- Click the edit icon on an equipment row
- Modify the name, type, description, sites, teams, or active status — adding or removing a site links or unlinks the item there (removing a site also drops its teams)
- Click Save Changes
Superusers and shared equipment
Superusers only see their own sites in the site picker, and can only edit or delete equipment whose sites are all sites they belong to. An item that is also linked to a site they don't manage shows a disabled edit icon ("Shared with sites you don't manage"); an admin, or a superuser of every linked site, has to change it.
Setting equipment to inactive removes it from booking lists and the Equipment View. Inactive equipment and their existing bookings are preserved.
Deleting Equipment¶
Click Delete Equipment in the edit form. A confirmation dialog warns that all assignments for the equipment will also be removed. This action is irreversible.
Equipment Types¶
Types are managed in Settings → Equipment types (or via the Manage Types button in the Equipment section). See Settings — Equipment Types for details on creating, renaming, and deleting types.
Maintenance Blocks¶
Equipment blocks mark a period when an item is unavailable for booking — typically due to maintenance, calibration, defect, or another planned outage. Blocks behave like vacations for equipment: they appear on the Equipment Timeline and are honoured by overlap detection so you don't accidentally schedule a project during a downtime window.
Creating a Block¶
- Right-click the equipment row (or an existing booking) on the Equipment Timeline and select Block Equipment, or open the Equipment panel and use the block action on the equipment item.
- The Equipment Block modal opens. Fill in:
- Equipment (required) — defaults to the row you clicked from
- Start date and End date (required, inclusive)
- Reason — Maintenance, Defect / Out of order, Calibration, or Other
- Description — short free-text label, prefilled from the chosen reason (e.g. "Annual recalibration")
- Click Save Block.

The duration is shown live as you change dates so you can confirm the window before saving.
Editing or Deleting a Block¶
- Click an existing block on the Equipment Timeline to open the modal in edit mode.
- Adjust dates, reason, or description and click Save Block.
- Click Delete Block to remove it. There is no soft-delete — the block disappears immediately and the equipment becomes bookable again on those dates.
How Blocks Affect Availability¶
- Block bars are styled distinctly from project bookings on the Equipment Timeline (typically a hatched or muted fill) so they're easy to distinguish.
- The equipment status indicator in the Equipment panel reflects the block — an item is shown as In use when its current date falls inside an active block, even with no project booking.
- When you create a new equipment assignment that overlaps a block, an overlap warning is shown (the assignment is still allowed — the warning is informational so you can resolve the conflict deliberately).
Permissions¶
Only Admins and Superusers can create, edit, or delete equipment blocks. Regular users see them on the timeline but cannot modify them. Superusers are limited to equipment whose sites are all sites they belong to.
Block and booking dates are picked on the shared calendar, so an end date can never fall before the start date. New blocks can't be added while What-If mode is active; existing blocks can still be edited and deleted there. Equipment itself cannot be deleted while a What-If plan is open, and What-If is entered from the Gantt chart only.
Permissions¶
With the default roles (see Settings → Roles), for equipment at the sites you can see:
| Action | Admin | Superuser | User |
|---|---|---|---|
| View equipment & bookings | Yes | Yes | Yes |
| Assign equipment to projects | Yes | Yes | Project manager of that project only |
| Add/edit/delete equipment | Yes | Yes (all of the item's sites must be their own) | No |
| Manage equipment types | Yes | Yes | No |
| Create/edit equipment blocks | Yes | Yes (all of the item's sites must be their own) | No |
Cross-Site View¶
The Cross-Site View provides a high-level overview of projects across the sites you can see, designed for company-wide capacity planning. It needs the Cross-site view permission (every built-in role has it) and at least two visible sites — with only one, there is nothing to compare and the sidebar does not list it. Administrators see every site; other roles see the sites they belong to, unless the role has See all sites (see Who Sees Which Sites).

How It Works¶
- Every site you can see shows its projects with their real names and customers (unless the Customer field is hidden in Settings → Project fields); sites you cannot see are not shown at all
- All sites share the same timeline for side-by-side comparison
- Your current site is highlighted with a special indicator
- The header team filter narrows only your current site's lane; the other sites always show all their projects
Use Cases¶
- Resource planning — Identify capacity across the organization and which projects drive it
- Timeline alignment — See how projects at different locations overlap
- Executive overview — Quick snapshot of all active work across the company
This view respects organizational boundaries through site visibility: it shows only the sites your account (or a role with See all sites) gives you, and projects at the other sites never reach your browser.
Vacations & Time Off¶
Milestone tracks staff absences — vacations, home-office days, illness, business trips, training and other time off — to provide accurate availability data in the Staff & Calendar view and the workload views.

Absence Types¶
Every absence is booked with an absence type. Admins define the types for all sites in Settings → Absence types; new installations start with Holidays, Home Office, Illness, Business Trip and Training.
Each type has a color and a Counts as unavailable setting, which decides how the absence affects planning:
| Counts as unavailable (e.g. Holidays, Illness) | Available (e.g. Home Office) | |
|---|---|---|
| Shown on the Staff timeline | Yes, in the type's color | Yes, in the type's color |
| Reduces capacity in the workload heatmap | Yes — the day counts as time off | No — the person stays fully plannable |
| Today's availability in the Staff & Calendar view and resource cards | Unavailable | Available |
If an unavailable and an available absence overlap on the same day (for example Illness during a Home Office week), the unavailable one wins.
Site closures
A shutdown or company holiday that applies to a whole site doesn't need an absence for every person: a company event marked as a site closure makes everyone on its sites unavailable for its dates, shown in the Staff workload view under the event's name and color. A closure limited to teams disappears from the timeline when the header team filter leaves its teams out, while a whole-site closure always shows.
Bank holidays
Public holidays are not absences: they are kept per site in Settings → Bank holidays and fetched from the Nager holiday service when a site has a country. An administrator can turn that import off in Features & defaults — the holidays already imported stay, and holidays can still be added or imported from an .ics file by hand.
Creating an Absence¶
- In the Staff & Calendar view, expand a staff member and click + Add vacation / time off — or use My absences for your own
- Choose the Absence type — it defaults to the first active type that counts as unavailable (normally Holidays)
- Set the From and To dates (duration is calculated automatically)
- Optionally add a description (e.g., "Annual Leave", "Conference")
- Click Save
People whose role can manage others' absences (admins and superusers by default) can create absences for any staff member at the sites they can see by picking them in the Staff Member dropdown, which opens with a search box — type to find a person (how the pickers work); everyone else can only book their own. They can also click an existing absence in the Staff & Calendar view to edit it. A person who belongs to several sites appears once in the staff picker.
From and To are picked on the shared calendar, so To can never fall before From; for a recurring absence, the selected weekdays are highlighted in the calendar.
What-If mode
Adding absences is unavailable while What-If mode is active, like other creates — the Add buttons are disabled with an explanation. Editing and deleting existing absences still works. (What-If is entered from the Gantt chart; My absences stays reachable from the user menu.)
Who Sees Whose Absences¶
| Your role | Absences shown |
|---|---|
| With See colleagues' absences (every built-in role) | Your own, plus those of the people at the sites you can see — every site for administrators |
| Without it | Your own only |
Absence descriptions can be personal (for example a reason for illness), so nobody sees the absences of people at sites they cannot see. Superusers, too, now see absences only at their own sites.

Recurring Absences¶
For regular part-time patterns (e.g., every Monday and Wednesday off):
- Check Recurring Absence in the absence form
- Select the days of the week (Mon through Sun)
- Click Save
Recurring patterns are shown with a repeat badge in the staff list and only affect the selected weekdays — the Staff & Calendar view, the workload heatmap and resource cards all treat the other days in the range as normal working days.
My Absences¶
Everyone — including regular users — can manage their own time off from the user menu (click your avatar in the header) → My absences. The window lists:
- Upcoming and current absences
- Absences from the last 90 days
Each entry shows its type (with an available note for types such as Home Office that don't reduce capacity), dates, description and any recurring days, with Edit and Delete buttons. Click Add absence to book a new one, or Import .ics to load several from a calendar file.
The Staff & Calendar view keeps its own entry points — + Add vacation / time off and clicking an existing absence — for people planning on behalf of others (admins and superusers by default).
Importing from Calendar (ICS)¶
Import absences directly from Outlook or other calendar applications — from My absences → Import .ics, or from the Import .ics tab of the absence form in the Staff & Calendar view:
- Pick a Default absence type for the import
- Drag-and-drop an .ics file onto the upload zone (or click to browse)
- Milestone parses every event in the file and shows a preview with a Type column per row. The type is prefilled from the file where possible:
- Outlook entries marked Working elsewhere become Home Office
- an Outlook category with the same name as an absence type, or a title containing a type name (e.g. "Training — Excel basics"), uses that type
- anything else follows the default type
- Absences that already exist for that person with the same dates are flagged Exists and unticked
- Adjust the type of any row, untick what you don't want, and click Import
A summary shows how many absences were created and skipped. Yearly recurring entries are expanded into one absence per year; other recurring entries can't be imported and are listed as not imported. The importer handles UTF-16 encoding (common with SAP calendar exports). Files larger than 5 MB are refused — export a shorter date range from your calendar instead.
What-If mode
Importing is unavailable while What-If mode is active — apply or discard your What-If changes first.
Exporting to Outlook¶
Click Save & Export to Outlook (instead of just Save) to download an .ics file that you can open in Outlook or any calendar app to sync the time off to your personal calendar.
Import & Export¶
Importing Projects¶

Milestone can import project data from external tools:
- Click Import in the project panel header
- Drag-and-drop or browse to select a file:
- CSV — Comma-separated values with columns for project name, phases, dates
- XML — Microsoft Project XML format (
.xml) - MPP/MPT/MPX — Microsoft Project native format (requires Java on the server)
- Milestone parses the file and shows a preview
- Click Import Project to create the project with all phases and subphases
After import, a summary shows the created project, phase count, and subphase count.
Supported Formats¶
| Format | Extension | Requirements | Notes |
|---|---|---|---|
| CSV | .csv |
None | Simple comma-separated values with project name, phase names, start/end dates |
| XML | .xml |
None | Microsoft Project XML format — preserves full hierarchy and metadata |
| MPP | .mpp |
Java (JRE 11+) | Microsoft Project native binary format — richest data preservation |
| MPT | .mpt |
Java (JRE 11+) | Microsoft Project template format |
| MPX | .mpx |
Java (JRE 11+) | Older Microsoft Project exchange format |
Note
MPP/MPT/MPX file import requires Java to be installed on the server (included in the Docker image). CSV and XML imports work without Java.
Note
Importing is blocked while What-If mode is active — imports create the project immediately on the server and cannot be sandboxed. Exit What-If mode first.
What Gets Imported¶
- Project name and metadata (start date, end date)
- Phase hierarchy — top-level tasks become phases, nested tasks become subphases (unlimited nesting depth preserved)
- Dates — start and end dates for all phases and subphases
-
Task names — preserved as phase/subphase names
-
Completion — the task's % complete, kept between 0 and 100; tasks at 100 % land in the Kanban Done column, partly done ones in In Progress
Staff assignments, resource allocations, and custom fields from the source file are not imported — these are configured within Milestone after import.
Import files are limited to 20 MB; a larger upload is refused (file too large). Parsing runs in the background on the server, so a large file no longer slows down other users while it is processed.
Troubleshooting Import Issues¶
| Problem | Solution |
|---|---|
| MPP import fails with "Java not found" | Java (JRE 11+) must be installed on the server. The Docker image includes it, but local development may not. |
| Phases appear flat (no nesting) | The source file may not have task hierarchy. Check the WBS structure in Microsoft Project before exporting. |
| Dates look wrong | Ensure the source file uses date formats that can be parsed (ISO 8601 or standard regional formats). |
| Large file takes too long | Very large project files (hundreds of tasks) may take several seconds to parse. Be patient during the preview step. |
| "File too large" | The upload exceeds 20 MB. Remove attachments or unused views in Microsoft Project, or export to XML/CSV. |
Exporting Projects¶
To export a project:
- Open the project edit modal (click Edit or right-click then Edit)
- At the bottom of the modal, two export buttons are available:
- CSV Export — Compatible with Microsoft Project and spreadsheet tools
- XML Export — Microsoft Project XML format
The exported file includes the project hierarchy (phases, subphases), dates, assignments, and custom column values.
Site Excel Export¶
The Site Excel Export is a complete snapshot of everything that lives under one site — projects, users, equipment, skills, absence types, vacations, assignments, custom columns, bank holidays, and company events — bundled into a single multi-sheet .xlsx file. It is the canonical "everything for this site" backup format, useful for archiving, audit, or migration.
How to Export¶
- Open Settings → Sites from the sidebar's Settings entry.
- Locate the site you want to export.
- Click the download icon (↓) next to the edit/pencil icon. Hover tooltip: "Export site data as Excel".
- The browser downloads
site_<name>_<YYYY-MM-DD>.xlsx. Large sites may take several seconds to generate — the icon shows a spinner while the export is being built server-side.

What's in the File¶
Each kind of data lives on its own sheet, so the file opens cleanly in Excel, LibreOffice, or any spreadsheet tool:
| Sheet | Contents |
|---|---|
| Site | Site metadata: name, city, country, region code, active flag |
| Projects | All projects on the site with their phases and subphases (full hierarchy, dates, project manager, customer, completion %); Volume in its Format, so 12.0 stays 12.0 at 1.0 |
| Users | Users assigned to this site (name, email, role, job title, active flag, Bookable — whether they can be booked as a resource) |
| Equipment | Equipment items linked to the site, with type, active status and a Sites column listing every site each item belongs to |
| Skills | Skills defined on the instance (name, color, description) |
| User skills | User → Skill associations |
| Tags | Project tags that apply to this site (name, color, all sites / sites, teams, order) |
| Project tags | Project → Tag associations |
| Project fields | Every project field (name, type — text, number, toggle, select, multiselect — and order) |
| Project field options | The dropdown items that apply to this site (field, name, color, all sites / sites, teams at the site, order) |
| Project field values | One row per project of the site and field with a value: text, number (a number cell carries the field's Format: rounded to its decimals and shown with them, 12.0 at 1.0), Yes / No for a switch, the chosen items joined by commas |
| Absence types | Absence type definitions (name, color, counts as unavailable, active, order) |
| Vacations | All absence entries for users on this site, including recurring patterns, with their Type and Type ID |
| Project assignments | Staff assigned at the project level |
| Phase assignments | Staff assigned at the phase level (with allocation %, Start / End — the booking's own dates, or the phase's — and Linked: yes when the booking follows the phase dates) |
| Subphase assignments | Staff assigned at the subphase level (same Start / End / Linked columns). The three assignment sheets carry an Approval status (approved or pending) and a Pending change column |
| Approval requests | Own-booking requests of the site's projects: requester, action, target, requested and previous values, status, decision and reason |
| Equipment assignments | Equipment booked on projects, with each booking's Note |
| Custom columns | Custom column definitions for this site (name, type, scope, options) |
| Custom column values | Custom column values for every project/phase/subphase |
| Bank holidays | Public and custom holidays on the site (with year) |
| Company events | Company events linked to the site, with a Sites column listing every site each event applies to and a Staff unavailable column marking site closures |
| Equipment blocks | Maintenance/unavailability windows on the site's equipment |
| Staff notes | Notes pinned to the site's staff timeline |
| Card comments | The comment threads of the site's phases and subphases and of its projects (the threads of project-level bookings): Card type is phase, subphase or project, and for a project thread Card ID is the project's id |
Note
The Site Excel Export needs the Export site data (Excel) permission — Admins and Superusers by default — and works for the sites you can see: superusers export the sites they belong to, admins any site. Superusers find it in Settings → Sites, which shows them the export only (editing sites stays admin-only).
Tip
Use this export before doing destructive operations (e.g. deleting a site, large bulk edits). The file is small enough to keep alongside regular database backups and is human-readable without needing to restore.
Spreadsheet Safety¶
CSV exports and the site Excel workbook escape any cell text that starts with a formula
character (=, +, -, @, tab or carriage return), so a malicious project name or comment
cannot run as a formula when the file is opened in Excel or another spreadsheet program. Such
cells start with an apostrophe in the exported file. The project manager is included in CSV and
XML project exports.
What-If Planning¶
What-If Mode lets planners — administrators and superusers by default, or any role with the What-If mode permission — experiment with scheduling changes without affecting the live data.

How It Works¶
- Open the Gantt chart and click the What If toggle in the header (the toggle only appears there)
- The interface changes visually to remind you that you're in planning mode; a badge next to What If counts the changes you have queued
- Make changes: move and resize phases, edit dates and details, change or remove assignments, delete items
- Changes are not saved to the database — they are queued in your browser
- When done, choose:
- Apply — send the queued changes to the server (the button reads Exit while nothing is queued)
- Discard — throw the changes away and restore the plan as it was when you entered What-If mode
Key Behaviors¶
- What-If is a private sandbox: your experimental changes stay in your browser and are not sent to the server or visible to other users until you apply them
- Only roles with the What-If mode permission (administrators and superusers by default) can enter What-If mode, and only from the Gantt chart: What-If is a planning simulation of the timeline
- The Gantt chart keeps the focus. While a What-If plan is open, the other views in the sidebar, the Settings window and the notification links that open a Kanban card are disabled, with a short explanation on the control. Apply or discard first; nothing is lost
- The visual appearance changes (header indicator) to remind you that you're in planning mode
- Colleagues' changes wait. While you are in What-If mode, project and custom-column changes made by other people are not pulled into your view (they would overwrite the plan you are editing); they are loaded as soon as you apply or discard
- Undo history is cleared when you enter What-If mode, and again when you apply or discard, so an undo can never write a discarded plan to the server. Undo and redo inside What-If work as usual
- Signing out (or an expired session) discards the sandbox — nothing carries over to the next person using the same browser tab
Own bookings that need approval¶
If your role books your own time with approval, a change or removal of your own booking made in What-If mode looks applied in the sandbox like any other edit. On Apply it becomes an approval request: the booking keeps its values, shows Change pending or Removal requested, and waits for an approver. Approving or rejecting requests in My Work is unavailable while a plan is open; comments in the assignment dialog still post at once (they are not part of the plan).
What is unavailable in What-If mode¶
Anything that creates something new is disabled while What-If mode is active, with a short explanation on the control: new projects, phases and subphases, new staff and equipment assignments (including drag-and-drop from the resource panel, Assign me… and joining or assigning people on Kanban cards), new absences and new equipment blocks. A queued create has no real id on the server, so the new item could not be shown or edited until Apply. Editing and deleting existing items stays available, except bank holidays and company events, which are not part of the plan and cannot be deleted while it is open.
Deleting users or equipment in Settings is blocked as well (Settings itself is unavailable, see above): their bookings are part of the plan, and a plan must never show bookings of something that no longer exists.
Imports are blocked as well:
- Importing a Microsoft Project or CSV file — imports cannot be sandboxed, so exit What-If mode first
- Importing
.icscalendar files (bank holidays, company events, absences), because calendar data is not part of the What-If snapshot
Comments (on Kanban cards and in the assignment dialog) and your notification inbox are not part of the plan: comments you post in What-If mode are saved immediately. The same goes for tags and project fields in Settings: they are configuration, so an admin's changes there apply straight away even while a What-If plan is open. Attaching tags to a project and filling in its fields are part of the plan and are queued like any other edit; if an admin meanwhile limits a tag or a dropdown item your queued edit relies on to other sites or teams, Apply stops at that edit with an explanation — discard it and redo the change.
Applying and Discarding¶
When you're finished experimenting:
- Apply — after a confirmation (Apply N changes to the database?), the queued changes are sent to the server one by one, in the order you made them. When all of them succeed, the view reloads from the server and What-If mode ends; the changes are now the live data visible to all users.
- Discard — after a confirmation, all queued changes are thrown away and the plan returns to its state when you entered What-If mode. No trace of the session remains on the server.
If you keep editing while Apply is reloading the view at the end, those late edits are not lost: they stay queued and What-If mode remains active with just those changes.
If Apply fails¶
Apply stops at the first change the server rejects (for example because a colleague deleted the phase you edited). Instead of a one-off alert, a banner appears under the What-If controls in the header:
3 of 5 changes applied, then one failed: … — 2 changes are still queued. The view shows what is saved on the server.
- The changes before the failure are saved; the failed one and everything after it stay queued.
- The view is reloaded from the server, so it shows what really landed.
- What-If mode stays active. Discard from here returns to the server's current state (including the changes that were applied), not to the state before What-If.
The banner offers:
| Button | Effect |
|---|---|
| Retry | Try to apply the remaining queued changes again (useful after a temporary network or server problem) |
| Discard | Drop the remaining queued changes |
| × (Dismiss) | Hide the message; the changes stay queued and you can keep editing or Apply later |
Warning
Applied changes cannot be undone as a group. Review your changes carefully before applying, especially if multiple phases or assignments were modified.
Use Cases¶
- Test resource reallocation before committing to it
- Explore "what happens if we move Project X to Q3?"
- Plan team changes without disrupting the live schedule
- Present planning options to stakeholders before deciding
- Run capacity scenarios during planning meetings — apply only the option the team agrees on
Settings & Configuration¶
All administration happens in one Settings window. Open it from the Settings entry in the Admin section of the sidebar — the only admin entry there. The window lists its sections on the left, grouped by topic, and shows the selected section on the right.
What-If mode
Settings is unavailable while a What-If plan is open — the entry is disabled with an explanation. Apply or discard the plan first.

Settings Sections¶
| Group | Section | What it manages | Who sees it (default roles) |
|---|---|---|---|
| General | General | Instance title, theme, logos, display defaults; the audit log and its retention under Data management | Admin (Superuser: theme only) |
| Features & defaults | What the Gantt opens with, the panels' default filters, the Kanban board, the bank-holiday import, phase pre-selection, where Help opens | Admin | |
| Roles | Roles and their permissions; who approves own bookings (Approvals) | Admin | |
| Sites & calendar | Sites | Locations, country/region, site Excel export | Admin |
| Teams | Teams per site, their members; the header team filter | Admin, Superuser | |
| Bank holidays | Public and custom holidays per site | Admin, Superuser | |
| Company events | Audits, meetings and site closures on one or more sites | Admin, Superuser | |
| People | Users | Accounts, roles, sites, skills | Admin, Superuser |
| Skills | Skill tags for staff | Admin, Superuser | |
| Absence types | Categories of time off, shared by all sites | Admin | |
| Resources | Equipment | Lab equipment on one or more sites — see Equipment Booking | Admin, Superuser |
| Equipment types | Equipment categories | Admin, Superuser | |
| Projects | Predefined phases | Phase templates for new projects | Admin, Superuser |
| Project fields | The built-in project fields' labels, your own dropdown, text, number and switch fields, and the rows of the Gantt's Shift-hover details | Admin | |
| Tags | Project tags and the sites they apply to | Admin | |
| Integrations | SSO | Microsoft Entra single sign-on for this workspace, with a Test configuration button for the entered values and a typed confirmation before a change to live sign-in settings — see Organization & SSO | Admin |
Each person only sees the sections their role's permissions let them change — with the default roles, superusers see General (theme only), Teams, Bank holidays, Company events, Users, Skills, Equipment, Equipment types and Predefined phases. Someone whose role grants none of these sections has no Settings entry; they manage their own time off from My absences in the user menu.
Unsaved changes
If you switch section or close the window while a form holds unsaved input — in General, Features & defaults, Roles, Users, Equipment, Sites, Teams, Skills, Bank holidays, Company events, Absence types, Equipment types, Project fields (an unfinished add or edit only: its labels and switches apply as you change them) or Tags — Milestone asks before discarding it. Clicking outside the window never closes it.
Saving is protected against double submission: pressing Enter twice or double-clicking a Save, Add or Delete button runs the action only once.
Some sections link to each other: Manage Types in Equipment opens Equipment types, Manage Skills in Users opens Skills, and the bank-holiday status in a site's form links to Bank holidays for that site.
General¶
The General section holds the theme picker and, for roles with Edit instance settings (admins by default), the instance-wide settings. Everyone else only sees Appearance (the theme family of their own browser).
Instance Settings¶
- Application Title — Name displayed in the header and browser tab (e.g., "ACME R&D Planner")
Branding & Themes¶
- Choose from available theme families (color schemes) — applied immediately and saved in this browser only
- Toggle light/dark mode using the sun/moon icon in the header
- Upload custom logos for dark and light themes (drag-and-drop or click to browse)
- Click Remove to revert to the default Milestone logo

Display Settings¶
| Setting | Description |
|---|---|
| Default View | Initial timeline granularity: Week, Month, Quarter, or Year |
| Week Starts On | Monday or Sunday |
| Show Weekends | Display Saturday and Sunday columns in the timeline (display only: whether they count as working days is the next setting). Off, a bar dragged on the Gantt chart moves by weekdays and keeps its width |
| Weekends are working days | Count Saturday and Sunday as working days in dashboards, capacity and availability. Off by default: Monday to Friday only |
| Auto-expand Projects | Automatically expand all projects on load |
Weekends are working days decides one rule everywhere a day is counted: the dashboards (booked days and weeks, capacity, utilisation, equipment availability), the Staff & Calendar workload blocks and X% available badges, the resource panel cards and the Gantt's Shift-hover Work days. Off, a booking across a weekend books nothing on Saturday and Sunday (the heatmap leaves them blank, a staff card reads Weekend on those days) and a week has 5 working days; on, every day counts and a week has 7. Bank holidays, absences and closures still take their days off either way. It is saved with Save Changes, like the other General settings.

Audit Log Retention¶
Audit log retention (under Data management, below the Audit log row) sets how long audit log entries are kept: a whole number of days from 0 to 3 650, default 365. The Keep audit entries indefinitely switch sets it to 0. Like the other General settings it is saved with Save Changes.

Features & defaults¶
Settings → Features & defaults (roles with Edit instance settings — admins by default) sets what everyone in the workspace starts with and turns whole features on or off. Change the controls and click Save Changes; Reset discards the unsaved changes.

| Setting | What it does | Default |
|---|---|---|
| Open the Gantt with | Nothing, Staff panel or Equipment panel: the resource panel docked under the Gantt chart each time someone opens it — for everyone who may see that panel (whoever may open the Staff & Calendar view, or the Equipment view). They can close it for the rest of their visit. Nothing leaves each browser's own choice | Nothing |
| Staff panel skills | The Staff panel below the Gantt chart opens showing only people with one of the ticked skills; the Staff view opens unfiltered. None ticked shows everyone | None |
| Equipment panel types | The Equipment panel below the Gantt chart opens showing only the ticked equipment types; the Equipment view opens unfiltered. None ticked shows all equipment | None |
| Kanban board | Turns the Kanban board on or off for the whole workspace | On |
| Bank-holiday import (Nager) | Turns the automatic public-holiday fetching on or off | On |
| Pre-select predefined phases in new projects | Whether a new project starts with every active predefined phase selected, or with none | On |
| Documentation URL | Where Help in the user menu opens: any web address, for example your own copy of the manual (see Hosting the Documentation) or the manual's PDF on SharePoint; clear the field and save to go back to the public manual | https://docs-milestone.verdet.me/ |
| Show completion badges in the Gantt | Whether the project, phase and subphase rows of the Gantt chart show their completion badge (40%). Off hides the badges only: the bars stay filled to their completion, and the progress slider stays available through Set progress… in a phase's or subphase's right-click menu | On |
The default filters are a starting point, not a restriction: people change them as usual, and the default applies again the next time the panel below the Gantt chart opens. The standalone Staff and Equipment views always open unfiltered. A skill that was deleted or an equipment type that was renamed is shown as (no longer exists) so you can untick it; until then it is simply ignored.
With the Kanban board off, nobody sees the board or its sidebar entry, whatever their role — administrators included — and it takes effect for people already signed in without a new login. Card comments stay stored and can still be read and added from the assignment dialog of a booking on the card (My Work); the board shows them again when it is turned on. My Work keeps working (its card links become plain text), and card notifications open the project on the Gantt chart instead. Turning the board off does not change any role: the permission matrix still shows the Kanban board permission as configured.
With the bank-holiday import off, the Refresh from Nager button, the site form's Refresh button and its Last updated line disappear, and setting or changing a site's country no longer fetches holidays. The holidays already imported stay, and you can still add, edit, delete and import holidays by hand.
Documentation URL takes a web address starting with http:// or https:// — https://intranet.example.com/milestone-docs/, or a SharePoint link to the manual's PDF with its ?… and #page=… — without spaces or a user name and password, up to 2000 characters; anything else is refused with a message under the field and nothing is saved. It is stored and opened exactly as you entered it: nothing is added, so Help always opens that one address, whatever view you are in. How calculations work in the dashboard widget editor opens it too (with the public manual, that link goes to its chapter on calculated widgets). The change reaches everyone's open Milestone tabs without a reload.
With phase pre-selection off, the New Project dialog shows the predefined phases with none selected; click the ones the project needs. The phases you pick are created spread over the project's dates, as before.
Roles & Permissions¶
What each person may do in Milestone is decided by their role. A role is a named set of permissions — one entry per thing you can do, such as Create projects, Book equipment on projects or See colleagues' absences. Open Settings → Roles (administrators only). The section has two tabs: Roles and Approvals.
The Roles tab lists every role with its description and how many users hold it. The three built-in roles carry a System badge.

The Built-in Roles¶
| Role | What it can do by default |
|---|---|
| Administrator | Everything, at every site. Its permissions cannot be edited and it cannot be deleted, so there is always someone who can manage roles |
| Superuser | Plans projects, people and equipment at the sites they belong to: creates, edits, archives, deletes, imports and exports projects, assigns anyone, books equipment, manages colleagues' absences, staff notes, equipment, bank holidays, company events, teams, skills and phase templates, views and edits non-admin users, exports the site, uses What-If, builds and shares dashboards |
| User | Sees the plan at their sites, books their own time, manages their own absences, comments on Kanban cards and bookings and moves the cards they are assigned to |
Both the Superuser and the User role can act as project manager: on a project where they are the Project Manager, they edit the project, archive it, assign people, book equipment, move cards and set column values — but never delete, create, import or export projects.
The defaults of Superuser and User match what these roles could do before roles became editable, so upgrading changes nothing for existing accounts — except that superusers now work only at the sites they belong to (see Who sees which sites). An administrator can change the permissions of Superuser and User, but not delete them.
Adding a Role¶
- Click Add role
- Type a Name (for example Team Lead) and an optional Description. The role's key — the short identifier stored on each account — is derived from the name and shown under the field (Team Lead →
team_lead). It cannot be changed later; renaming the role keeps the key - Set the permissions in the matrix (a new role starts with nothing but View projects and Gantt)
- Click Create role
Click the edit icon to change a role, then Save Changes. Custom roles can be deleted with the delete icon or Delete role in the form, after a confirmation — but only while nobody holds them: give those people another role first.
The Permission Matrix¶
Permissions are grouped by topic: Projects, Staff assignments, Equipment bookings, Kanban, Custom columns, Absences, Staff notes, Equipment, Calendar, Sites, Teams, Users, Skills, Project configuration, Instance settings, Roles and approvals, Views and tools and Dashboards. Each row shows what the permission allows and three choices:
- Allow — the role may do it
- Needs approval — only on the three own-booking permissions (Book myself, Change my allocation / dates, Remove my booking): people with the role can ask, and the booking waits for an approver (see Approvals)
- Deny — the role may not; the matching buttons and menu entries are hidden or disabled
Rows marked Locked cannot be changed: View projects and Gantt is always allowed, and Manage roles and approval policies belongs to the Administrator role alone.
A change applies to everyone holding the role on their next action — nobody has to sign out, and open windows pick up the new permissions straight away.
Some permissions worth knowing:
| Permission | What it does |
|---|---|
| See all sites | Every active site is visible. Without it, a person sees and works only at the sites they belong to. Administrators only, by default |
| Act as project manager | The project-manager rights described above, on the projects the person manages |
| Assign and manage anyone | Book, change and remove anyone's assignments. People with it (and project managers on their projects) never need approval for their own bookings |
| See colleagues' absences | See the absences of people at your sites; without it, only your own |
| Change user roles | Give people a role — but only a role whose permissions you hold yourself |
| Kanban board, Dashboards, Staff & Calendar, Equipment view, Cross-site view, Archived projects | Show the matching view in the sidebar; without them it is hidden. Staff & Calendar and Equipment view also decide who may dock that view as a panel below the Gantt chart. Dashboards (Superuser and User by default) opens the Dashboards view with the dashboards shared with the role or with everyone |
| Manage dashboards | Create, edit, share and delete your own dashboards. Superuser by default; administrators may change or delete any dashboard |
| What-If mode | Show the What-If toggle on the Gantt chart |
| Audit log | Open the audit log from Settings → General → Data management. Administrators only, by default; grant it to a compliance role without making anyone an administrator |
Who Sees Which Sites¶
A role without See all sites limits its holders to the sites in their account: the site selector lists only those, and every project, person, piece of equipment, holiday and event elsewhere stays out of reach — also for editing. The Cross-Site view needs at least two visible sites; with one it is not listed. It shows the real names and customers of every visible site's projects — the sites a user cannot see stay out of it.
Giving People a Role¶
Roles are given in Users. Nobody can raise someone above themselves:
- The role list only offers roles whose permissions you hold yourself; the others are disabled with (more than your role), and the Administrator role with (admin only)
- You can only change the role of someone whose current role grants no more than yours
- Nobody can change their own role, and the last active administrator cannot be demoted, deactivated or deleted
- A role other than the default User needs Change user roles; with Create users alone, new accounts get the User role
A custom role can also be the default role of accounts created by single sign-on.
Approvals¶
When a role has Needs approval on an own-booking permission, people with that role can still book themselves, but the booking waits for someone to approve it. The Approvals tab of Settings → Roles decides who that is.
There is one card per action — Book myself, Change my allocation / dates and Remove my booking:
- The project's manager can approve — the Project Manager of the project the booking is on
- Roles that can approve — tick the roles whose holders may approve. The Administrator role is always ticked: administrators can approve every request

If neither the project's manager nor any role is set, a warning says that only administrators can approve these requests. Click Save Changes on the card to apply it. An approver must be able to see the project's site, and nobody approves their own request.
What Happens to a Request¶
- The person books themself as usual — the button reads Request to assign me, Request to join, Request change or Request removal — and sees Sent for approval
- A new booking appears at once as a dashed row with a Pending approval badge (a change shows Change pending with the old and new values, a removal Removal requested). Hovering the badge shows who can approve it. A pending booking does not count towards anyone's workload until it is approved
- The approvers get a notification and find the request in My Work under My Approvals. They can also approve or reject it from the booking's right-click menu in the Gantt chart or from the Kanban card. Rejecting can include a reason
- The requester is notified of the decision and sees the outcome under My requests. Until then they can Cancel request
A request also closes on its own when it can no longer apply — the card or project was deleted, the requester's account was deactivated or lost the right to book themself there, someone changed the booking in the meantime, or the person is already booked there. The requester sees why under My requests.
Audit Log¶
The audit log is not in the section list: open Settings → General, scroll to Data management and click Open audit log on the Audit log row (it shows the current retention, Kept 365 days or Kept indefinitely). The log takes the place of the General form; Back to General returns to it, with any unsaved General changes still there. It lists every sign-in, failed attempt, administrative change, export and project or booking change, with who did it, from which IP address and where. Filter by category, outcome, action, actor, IP address and dates, open an entry for its before/after changes, and export the filtered list to CSV. The row needs the system.audit_log permission (admins by default; grant it to a role in Settings → Roles — a role holding only that permission still opens Settings, at General). The full description is in the Audit log admin guide.
Sites¶
Sites represent your organization's physical locations. Projects, staff, equipment, and holidays are all scoped to sites. Open Settings → Sites (Admin only) to manage them.

Creating a Site¶
- Open Settings → Sites
- Enter a site name in the text field (e.g., "Winterthur HQ")
- Click Add site (or press Enter) — the site is created with minimal fields
- Click the edit icon (pencil) on the new site to open its details form
Editing a Site¶

The site details form has these fields:
| Field | Description | Example |
|---|---|---|
| Site Name | Display name (required, must be unique) | Winterthur HQ |
| City | City location | Winterthur |
| Country | Country from grouped dropdown (Europe, Americas, Asia & Pacific, Africa & Middle East) | Switzerland (CH) |
| Region/State Code | Sub-region for holiday filtering — varies by country | ZH (Zurich), HE (Hesse), BY (Bavaria) |
| Active | Checkbox — inactive sites are hidden from the site selector | Checked |
Click Save Changes to save, or Back to return to the list. Emptying City, Country or Region/State Code and saving clears the value.
Tip
Setting the Country enables automatic bank holiday fetching. Adding a Region/State Code filters holidays to your specific region (e.g., canton-specific holidays in Switzerland).
Site Selector¶
The site selector dropdown in the header filters everything to the selected site:
- Projects visible on the Gantt chart
- Staff in the Staff & Calendar view
- Equipment in the Equipment View
- Bank holidays and company events on the timeline
- Custom columns
People whose role has See all sites (administrators by default) see every active site; everyone else only the sites they are assigned to.
- When the site has teams, the team filter next to the site selector narrows the views further to one or more teams.
Sites are an access boundary
Without See all sites, a person reads and changes only the data of the sites they belong to — projects, assignments, absences, equipment, holidays, events and teams alike. Switching the site selector never reaches beyond them. See Who Sees Which Sites.
Deactivating and Deleting a Site¶
To hide a site from the site selector while keeping its data, untick Active in its form. To delete a site, click the bin on its row (people who may manage sites) and type the site's name to confirm. Deleting a site cannot be undone: it deletes all of its projects — with their phases, subphases, bookings, equipment bookings, comments and custom-column values —, its bank holidays, closures and events, its teams and their memberships, equipment linked only to this site, and tags or dropdown-field items limited to it. Equipment and company events shared with other sites stay on those sites. People assigned only to this site keep their account but no longer see its data. The last active site cannot be deleted: add or reactivate another site first. Everyone signed in sees the site disappear straight away; someone who was looking at it moves to their first remaining site.
Danger
Deleting a site is irreversible and removes all data associated with it. To keep its projects, move them to another site first, or deactivate the site instead.
Teams¶
A team is a group of people within one site — a lab, a department, a shift. Teams let everyone narrow the views to the work and people they care about, and let you limit tags, dropdown-field items, equipment and company events to some teams of a site. Open Settings → Teams (Admins, and Superusers for the sites they belong to).
Pick the Site at the top; the list shows that site's teams with their colour, description, number of members and an Inactive badge where it applies.

Creating a Team¶
- Choose the Site
- Type a name in New team name (names are unique within a site)
- Click Add team (or press Enter) — the team is created, active and without members
- Click the edit icon (pencil) to fill in the rest
Editing a Team¶
| Field | Description |
|---|---|
| Name | Required, unique within the site |
| Description | Optional free text |
| Color | Shown as a dot next to the team in lists and the team filter |
| Active | An inactive team is no longer offered in the header team filter or in new selections |
| Members | Open the dropdown, search and tick the people of the site who belong to the team (Enter ticks the highlighted person and keeps the list open). The chosen members are listed under it, each with a × to remove them. A member must belong to the team's site; someone can be in several teams |
Click Save Changes to save, or Cancel to go back without saving. The teams a person belongs to are shown, read-only, in the Teams column of Users. Removing a site from a person also removes them from that site's teams.
Inactive teams still count
Deactivating a team does not lift what it scopes. Projects, tags, equipment and company events keep their link to it, and a closure limited to it still takes out its members. Only the header team filter leaves inactive teams out — so equipment limited to an inactive team alone is hidden under any team filter and shown under Whole site. An inactive team stays listed in a dialog while it is ticked there, so you can untick it.
Deleting a Team¶
Click the delete icon and confirm. The team's members, projects, tags, equipment and company events keep working without it; anything that was limited to that team alone becomes whole-site again. Deleting is refused while a project of the team carries a tag or a dropdown-field item that is also limited to other teams of the site and the project is in none of them — it would be left with a tag or item it no longer qualifies for. Add the project to one of the other teams, or widen the tag or item, then delete the team. Deleting a site deletes its teams.
Team Filter¶
The team filter sits in the header next to the site selector. It only appears when the current site has active teams. Open it and tick:

- Whole site — no filter (the default)
- one or more teams — what belongs to any of them
- (No team) — projects and people without a team; combines with the teams you ticked
Clear goes back to the whole site. The button shows the current choice, for example Analytical Lab or 2 teams + no team. The choice is remembered per site in this browser, like the project filter, and does not change what other users see.
The filter narrows:
- the Gantt chart, the Kanban board and the archived projects (projects of the ticked teams)
- the sidebar statistics and the Staff and Equipment resource panels
- the Staff and Equipment views
- the project-manager list in the project dialog, and the staff, equipment and equipment-block pickers — a person or item already selected in the dialog stays listed
- in the Cross-Site view, the current site's lane only
- the options of the project filter: a tag or dropdown-field item limited to teams at this site is offered only while one of them is ticked
Equipment that is not limited to any team of the site is always shown; equipment limited to teams is shown when one of them is ticked. A company event limited to teams follows the same rule: it shows on the timelines and in the Staff & Calendar view's Company Events row only while one of its teams is ticked (or under Whole site), while a whole-site event always shows.
A project created while the filter is active starts with the filter's teams ticked, so it appears in the view you are looking at.
Who Can Manage Teams¶
| Action | Admin | Superuser | User |
|---|---|---|---|
| Create, edit and delete teams | Every site | Their own sites | No |
| Assign a project to teams | Yes | Yes | Project manager of that project |
| Use the team filter | Yes | Yes | Yes |
Bank Holidays¶
Bank holidays are configured per site and affect working-day calculations. They appear as highlighted columns on the Gantt and Staff timelines.
Open Settings → Bank holidays (Admins and Superusers; superusers only for sites they belong to). Pick a Site (defaults to the site you are viewing) and a Year (or All years). The table lists each holiday's date, end date, name and Source:
- Nager — fetched automatically from the public-holiday service
- Custom — added by hand, imported from a calendar file, or a Nager holiday that has been edited
From the toolbar you can Refresh from Nager, Export .ics, Import .ics and Add holiday. Refresh from Nager is not shown while the bank-holiday import is turned off in Features & defaults.
Automatic Fetching¶
If a site has a country set, Milestone can auto-fetch public holidays from the Nager holiday API. Creating a site with a country, or changing a site's country, fetches them straight away. An administrator can turn this import off in Features & defaults; the holidays already imported then stay and are no longer refreshed.
- In Settings → Sites, edit the site and set its Country (and optionally Region/State Code), then click Save Changes
- In Settings → Bank holidays, select the site and click Refresh from Nager (the Refresh button in the site's details form does the same) — Milestone fetches public holidays for the current and next year
- If a region code is set, only holidays that apply nationally or to that region are included
- Only public and bank holidays are imported — school, observance and optional days don't affect working-day calculations
The last refresh timestamp is shown in the site's details form: "Last updated: April 2026".
A refresh replaces the site's Nager holidays but never touches custom ones. A custom holiday also wins over Nager for every day it covers: Nager entries falling on those days are not added, so an edited or imported holiday is never duplicated. A Nager entry is also skipped when a custom holiday in the same year has the same name (ignoring case and surrounding spaces) — that is how a holiday you moved to another date is recognised.
Holiday names are in English
Imported holiday names come from the holiday API in English (for example Swiss National Day rather than Nationalfeiertag). To use another name, edit the holiday — it becomes a custom holiday and keeps your name across refreshes.
Behind a corporate firewall?
Fetching holidays is an outbound call from the Milestone server to nagerholidays.com.
If your network blocks server-to-internet traffic, ask your administrator to allow it —
see Network & Firewall Requirements.
Everything else keeps working if it's blocked — and you can still fill the site's holidays
by importing an .ics file.
Adding a Holiday¶
- Click Add holiday
- Enter the Name (e.g., "Company Anniversary")
- Set the Date (required)
- Optionally set an End date for multi-day holidays — left empty it reads Same day, and Clear end date in the calendar removes one
- Save
Added holidays are custom holidays for the selected site.
Editing and Deleting Holidays¶
Every holiday can be edited or deleted with the icons at the end of its row, whatever its source:
- Editing a Nager holiday turns it into a Custom holiday. It keeps your changes on the next refresh instead of being overwritten or duplicated. A holiday moved to another date is recognised by its name, so the original does not come back — but if you both rename and move it, the refresh no longer recognises it and the Nager original returns at its original date. Keep the original name when you move a holiday.
- Deleting a Nager holiday removes it until the next Refresh from Nager, which brings it back. To drop a public holiday for good, edit it instead (for example rename it) or accept that it returns on refresh. While the import is turned off, a deleted holiday does not come back.
- Deleting a custom holiday removes it permanently.
Importing Holidays from a Calendar File¶
Use Import .ics to load holidays from a calendar export — useful when the server cannot reach the holiday service, or when your HR department publishes the official calendar as a file.
- Click Import .ics
- Under Import into, tick one or more target sites (the selected site is preselected)
- Drop an
.icsfile onto the upload zone, or click to browse - Review the preview: one file can hold many entries, and yearly recurring entries are expanded into one row per year (from last year up to two years ahead). Entries that already exist on the site (same date and name) are flagged Exists and unticked; yearly rows are flagged Yearly
- Untick anything you don't want and click Import
A summary shows how many holidays were created and skipped. Imported holidays are stored as custom holidays. Entries with a recurrence other than yearly, cancelled entries, and entries without a date are listed as not imported with the reason.
Calendar files are limited to 5 MB (for holidays, company events and absences alike); for a larger export, export a shorter date range. Large files are imported in batches of 500 entries, so a long export is fine as long as it stays under the size limit. .ics imports are unavailable in What-If mode.
Exporting Holidays to Calendar¶
Click Export .ics to download the holidays currently listed (selected site and year) as an .ics calendar file. The Export to Outlook button on the Bank Holidays row of the Staff & Calendar view does the same for the current site. Import the file into Outlook, Google Calendar, or any calendar app.
Holidays in the Staff & Calendar view¶
Expand the Bank Holidays row in the Staff & Calendar view to see all holidays for the current site. Each entry is labelled Holiday (from the holiday service) or Custom. Admins and superusers can click an entry to edit it in Settings, delete it with the × button, or click + Add custom holiday to open Settings → Bank holidays with the add form ready.

How Holidays Affect the Timeline¶
- Holiday dates appear as shaded columns on the Gantt timeline
- They are not counted as working days in working-day calculations
- They do not reduce anyone's capacity in the Staff workload view — to take a site's staff out of the plan for a day, add a company event marked as a site closure
- The Staff View shows holiday labels in the timeline header
Note
Only Superusers and Admins can add, edit, delete, import and refresh holidays — superusers only on sites they belong to. Regular users can view holidays but not modify them. Changes appear for other signed-in users straight away.
Company Events¶
Company events are dated markers shown on the timeline (e.g., "ISO Audit", "All-Hands Meeting", "Annual Retreat"). One event can apply to several sites, so an audit or shutdown is entered once instead of once per site. An event can also be marked as a site closure, which makes the staff of its sites unavailable for its dates.
Open Settings → Company events (Admins and Superusers). Filter by Site (or All my sites) and Year. The table shows each event's dates, name, color, Sites and Teams — the teams it is limited to, or Whole site; site closures carry a Closure badge.
Adding and Editing an Event¶
- Click Add event, or the edit icon on an existing event
- Enter the Name (e.g., "ISO Audit")
- Set the Start date (required) and optionally an End date for multi-day events — left empty it reads Same day, and Clear end date in the calendar removes one
- Under Sites, tick every site the event applies to. Superusers can only choose sites they belong to
- Teams (optional) — for each selected site that has teams, leave Whole site on, or switch it off and tick the teams the event is for. A site where no team is ticked keeps the whole site
- Pick a Color
- Tick Site closure — staff on these sites are unavailable if the sites are closed on those dates (see Site Closures). Once you tick teams in step 5 the switch reads Site closure — staff of the selected teams on these sites are unavailable, with the note that only members of the ticked teams lose their capacity and everyone else on those sites is unaffected
- Save
Editing an event changes it on every site it is linked to.
Deleting an Event¶
- In Settings → Company events, the delete icon removes the event from all of its sites (the confirmation lists them).
- Superusers can't edit or delete an event that is also shared with sites they don't manage (the edit and delete icons are disabled). Instead, Remove from my sites (the broken-link icon) unlinks it from their own sites; the other sites keep it.
- In the Staff & Calendar view, the × on a Company Events entry deletes a single-site event. For an event shared with other sites, it only removes the event from the current site; the other sites keep it.
Importing and Exporting Events¶
Import .ics works like the holiday import: choose the target sites under Add the events to, pick a default Color for the imported events, optionally tick Site closure — staff on these sites are unavailable, drop the file and review the preview. The closure tick applies to the newly created events only. An event that already exists with the same dates and name is not duplicated — it is linked to any selected sites it is missing and keeps its own closure setting. Export .ics downloads the events currently listed; site closures are exported as busy / out of office time, plain events as free time.
How Events Appear¶
- Company events display as colored bands in the strip under the day labels of every timeline header (Gantt, Staff, Equipment, Cross-site and Archived), at every zoom — see Holidays and events on the timeline
- Several events on the same day are stacked on up to three lanes (below a bank holiday's orange line), with +N for any that do not fit; at quarter and year zoom a week or month shows one band and the number of its events. Hover or click the strip to list them all, with their dates, and Site closure, Closure for <teams> or Teams: <teams> on the events limited to teams
- A plain event is informational only — it does not affect working day calculations or staff availability
- Events are visible to all users on the sites they are linked to
- In the Staff & Calendar view, admins and superusers can click an event to edit it in Settings, or click + on the Company Events row to add one; in the timeline strip's panel, a click on an event's name opens it the same way
- An event limited to teams follows the header team filter, and the Company Events row names its teams after the event's name
Site Closures¶
Tick Site closure — staff on these sites are unavailable (it reads staff of the selected teams on these sites once teams are ticked) on an event for a shutdown, a company holiday or anything else that closes a site. For every day of the event, everyone who belongs to one of the event's sites is treated as away, like an absence that counts as unavailable:
- In the Staff workload view their cells show 0% available in the event's color, with the tooltip Site closed: <event name>. Work assigned on those days is flagged as a conflict
- Today's availability in the Staff & Calendar view and on the resource cards shows them as unavailable during a closure
- Their assignment bars in the Gantt chart are marked on the closed days
- The timeline columns of the event get a stronger, hatched tint, the timeline strip's panel tags it Site closure, and the Staff & Calendar view's Company Events row labels the entry Closure instead of Event
A person on several sites is unavailable when any of their sites is closed. Plain events and bank holidays do not reduce anyone's availability — only events marked as closures do.
A closure limited to teams takes out only their members. The Closure badge in the event list says so in its hover text. At a site where the event names teams, only the members of those teams are unavailable; everyone else on that site keeps working. Such a closure never shades the calendar header as closed: its timeline columns get a plain event's tint instead of the hatched closure tint, since the rest of the site is open. In the Staff & Calendar view's Company Events row, the hover text of its Closure label names the teams. A plain event limited to teams is still shown to the whole site, unless the header team filter leaves its teams out.
The site export's Company events sheet has a Staff unavailable column showing which events are closures.
User Management¶
Open Settings → Users to manage accounts. What you can do here follows your role's Users permissions: viewing accounts, creating them, editing names, job titles, capacity, sites, teams and skills, changing someone else's email or password, editing administrator accounts, changing roles, activating or deactivating, and deleting. With the default roles, administrators can do all of it; superusers can view users and edit their details, sites and skills — but not create, delete, enable or disable users, change roles, change someone else's email or password, or edit administrator accounts. Fields you cannot change are shown read-only. The list only holds people of the sites you can see. Nobody can change their own role or deactivate or delete their own account.
Deactivating, deleting or demoting a user, or resetting their password, signs them out everywhere immediately, including live updates in open tabs.

User Fields¶
| Field | Description |
|---|---|
| Login email address (unique) | |
| Password | Required for new users, optional when editing (leave empty to keep it). New and changed passwords need at least 8 characters and at most 72 bytes; existing shorter passwords keep working until they are changed |
| First Name / Last Name | Display name |
| Job Title | Role description shown in staff lists. Free-text with autocomplete suggestions — see Job Title Suggestions |
| Role | Administrator, Superuser, User or a custom role — see Roles & Permissions. Roles granting permissions you don't hold are disabled in the list |
| Sites | One or more sites the user belongs to — and, without See all sites, the only sites they can see. You can only pick among the sites you see yourself |
| Skills | Tags for resource planning (see Skills Management below) |
| Teams | Shown read-only in the user list; membership is edited in Settings → Teams |
| Active | Deactivate to prevent login without deleting |
| Bookable as a resource | Whether the person appears in the Staff view and panel and can be booked on projects — see Bookable as a Resource. Off by default for administrators, on for everyone else |
Bookable as a Resource¶
The Bookable as a resource switch (under Resource in the user form) decides who can be planned, independently of the role:
- On — the person is listed in the Staff view and panel of their sites and can be booked on projects, phases, subphases and Kanban cards, by others or by themself
- Off — the person is not listed and cannot receive new bookings: booking them is refused with This person is not bookable as a resource, and their own Assign me… and Join entries are hidden. Their existing bookings stay as they are and can still be changed or removed. A pending request of theirs to be booked somewhere can no longer be approved — it closes as expired; their requests to change or remove an existing booking can still be decided
New administrator accounts start with the switch off (an administrator who also works on projects can simply turn it on); every other new account starts with it on. While you create an account the switch follows the role you pick until you change it yourself. Upgrading changes nobody: existing administrators are not bookable, everyone else is. The user list shows a Not bookable badge next to people with the switch off.
Changing the switch is a profile edit: it needs the same permission as editing the person's name or capacity (and Edit administrator accounts for an administrator). The site's Excel export lists it in the Bookable column of the Users sheet.
User Roles¶
What each role may do is set in Settings → Roles. With the shipped defaults:
| Permission | Admin | Superuser | User |
|---|---|---|---|
| View projects & timeline | Yes | Yes | Yes |
| Create and delete projects (at their sites) | Yes | Yes | No |
| Edit a project, its phases, subphases and Kanban cards | Yes | Yes | Project manager of that project |
| Manage staff assignments | Yes | Yes | Project manager of that project; anyone for their own time ("Assign me…"), with approval where the role needs it |
| Manage equipment assignments | Yes | Yes | Project manager of that project |
| Enter What-If mode (from the Gantt chart) | Yes | Yes | No |
| Open the Dashboards shared with them | Yes | Yes | Yes |
| Build, share and delete their own dashboards | Yes (any dashboard) | Yes | No |
| Manage bank holidays & company events (own sites) | Yes | Yes | No |
| Manage teams (own sites) | Yes | Yes | No |
| Edit users, skills, equipment, equipment types, predefined phases | Yes | Yes | No |
| Create, delete, enable/disable users; change roles | Yes | No | No |
| General settings, sites, absence types, tags, project fields, custom columns, SSO, roles | Yes | No | No |
| See every site | Yes | No (own sites) | No (own sites) |
| Book own absences (My absences) | Yes | Yes | Yes |
Filtering Users¶
The user management table supports filtering by:
- Status: Active / Disabled
- Role: any role, built-in or custom
- Job Title: Dynamic list from existing users
- Site: Filter by site assignment
- Skills: Filter by assigned skill
The results count updates as filters are applied (e.g., "12 users (filtered from 20)").
Job Title Suggestions¶
The Job Title field is a free-text input backed by an autocomplete dropdown. It does not have a separately managed list — instead, it suggests every distinct job title already used by another user on this instance. This keeps titles consistent across the team without an admin needing to curate them.
How it behaves:
- Click or focus the field to see all existing titles, sorted alphabetically.
- Start typing to narrow suggestions to those containing what you've typed (case-insensitive substring match).
- Pick a suggestion with the mouse or ↑ / ↓ arrow keys + Enter.
- Type a brand-new value and just save — the entry doesn't have to match a suggestion. Once saved, that new title becomes a suggestion for the next user added.
- Press Escape to close the dropdown without picking anything.
- The dropdown is scrollable when the list is long and stays anchored to the input even on small screens.
Notes:
- SSO-provisioned users (Microsoft Entra ID) receive their job title
directly from the
jobTitleclaim returned by the identity provider — these are written to the user record as-is and become available as suggestions for the next user you create manually. - Renaming a title on one user does not propagate to other users; you must edit each user individually if you want to retire an old title. An old title only stops appearing in suggestions once no remaining user has it set.
Skills Management¶
Skills are colored tags assigned to staff members for resource planning and filtering. Open Settings → Skills (or Manage Skills in the Users section).

Creating a Skill¶
- Click Add Skill in the Skills section
- Fill in:
- Name (required, max 100 characters, must be unique)
- Description (optional)
- Color — choose from 10 preset colors or use the custom color picker:
- Presets: Blue, Purple, Green, Amber, Red, Cyan, Pink, Lime, Orange, Indigo
- Custom: Click the color picker to choose any hex color
- A live preview shows the skill name with its color dot
- Click Save
Editing a Skill¶
Click the edit icon on any skill in the list to modify its name, description, or color. Changes apply immediately to all users who have the skill assigned.
Deleting a Skill¶
Click the trash icon on a skill. A confirmation dialog warns: "This will remove the skill from all users who have it assigned." Deletion cascades to remove the skill from every user.
Assigning Skills to Users¶
- Open Settings → Users and edit (or create) a user
- In the Skills section, click skill buttons to toggle them on/off
- Selected skills show a blue-tinted background with a color dot
- Unselected skills show a gray border
- To create a new skill inline, click + New skill, type a name, and press Enter
- Save the user — skills are updated immediately
Filtering Staff by Skills¶
In the Staff & Calendar view, open the Filter panel:
- Under the Skills section, check one or more skills
- Each skill shows its assigned color dot next to the name
- Staff members matching any of the selected skills are shown (OR logic)
- The header updates to show the filtered count: "8/20 staff"
- Click Clear All to reset all filters
Skills are also visible as colored badges in the Users table (first 3 shown, "+N" for additional).
Absence Types¶
Absence types are the kinds of time off people can book — for example Holidays, Home Office or Illness. They are shared by all sites and managed by admins in Settings → Absence types. Every absence is booked with a type; see Vacations & Time Off for how they are used.
New installations and upgraded ones start with these types:
| Type | Counts as unavailable |
|---|---|
| Holidays | Yes |
| Home Office | No |
| Illness | Yes |
| Business Trip | Yes |
| Training | Yes |
Absences that existed before absence types were introduced are filed under Holidays.
Managing Types¶
Each type has:
- Name — must be unique
- Color — used for the absence bars and badges in the Staff & Calendar view and on the timeline
- Counts as unavailable — when ticked (Holidays, Illness…), the absence removes the person's capacity in the workload views. When unticked (Home Office), the absence is shown on the timeline but the person stays available for planning
- Active — inactive types are hidden when booking a new absence, but existing absences keep their label and color
To add a type, enter a name at the bottom of the list (e.g., "Parental leave"), choose whether it counts as unavailable, pick a color and add it. Click the edit icon to change a type's name or color, and use the toggles to change the other settings. Drag types to reorder them — the order is used in every absence-type picker.
Deleting a Type¶
A type can only be deleted while no absence uses it. If it is in use, deletion is refused with "in use — deactivate it instead": untick Active so it is no longer offered for new absences.
Equipment Types¶
Equipment types categorize your inventory for filtering in the Equipment View. Manage them in Settings → Equipment types, or click Manage Types in the Equipment section.
Creating Types¶
A type exists as long as at least one piece of equipment uses it, so types are created through equipment: when creating or editing an equipment item, click + New type, enter a name, and confirm. The type is saved with the equipment item. (Settings → Equipment types has no Add Type button any more — a type without equipment could not be stored.)
Renaming Types¶
- Open Settings → Equipment types
- Click the edit icon on a type
- Enter the new name
- Click Rename Type
Note
Renaming a type updates all equipment items that use it. A warning shows how many items will be affected.
Deleting Types¶
Click the delete icon on a type and confirm. A type can only be deleted once no equipment item uses it; if equipment still uses it, the deletion is refused with a message telling you to change those items' type in Equipment first.
Superusers can rename or delete a type only when every piece of equipment of that type is at one of their sites; otherwise the change is refused, because types are shared by the whole workspace.
Type Filtering¶
In the Equipment View, use the type filter dropdown to show/hide equipment by type:
- Click the filter button to open the dropdown
- Use Select All / Clear for quick selection
- Check individual types to filter
- The filter button shows the active count (e.g., "3 types")
Project Fields¶
Project fields are what a project holds besides its name, dates, manager and teams (see Project fields in the Gantt chart). Open Settings → Project fields (Admins — the Manage project fields permission); everyone who can edit a project fills them in the project dialog. The same list chooses which of them, and which other rows, the Gantt chart shows when you hold Shift over a project bar, and a preview beside it shows both.

Built-in Fields¶
Customer, Sales PM, Volume and Confirmed are part of every project. The list has six aligned columns — Field, Label, Format, In project dialog, In Gantt details and the row's actions — and the two switch columns decide In project dialog and In Gantt details (the details shown when you hold Shift over a project bar in the Gantt chart). For each field:
- Label — Type another name (for example Client instead of Customer); leave the box empty to keep the default. The new name applies when you leave the box or press Enter; Escape puts back the stored name. It replaces the default everywhere the field is named, for the whole workspace: in the project dialog, the Gantt chart's Shift-hover details and the Archived view (No Client). The defaults shown here are the names used everywhere else too.
- In project dialog — Switch Customer, Sales PM or Volume off to hide it from the project dialog and the views. Hiding keeps the values stored; switching the field back on shows them again. Hiding a field also switches its In Gantt details off, and that switch stays off and locked while the field is hidden, with the note Hidden fields are never shown. Show the field again and switch In Gantt details on again if you want it there.
- In Gantt details — Whether the Shift-hover details show the field. Volume is shown in its format.
- Format (Volume only) — Volume is a number and has a Format like a number field, 1.0 (one decimal) by default, with the same choices and preview line. The project dialog shows Volume in that format and refuses a decimal beyond it; new values are rounded half up when saved, and the site export writes Volume in that format (12.0 stays 12.0 in Excel). Volumes saved before are not changed.
Confirmed can be renamed but not hidden: it drives the project status, the striped look of unconfirmed projects, the default project order and the sidebar counts. Its In project dialog column reads Always.
Under Also in the Gantt details follow the rows of the details that are not fields: PM, Tags, Period, Completion, Work days, Total and Assigned staff, each with its In Gantt details switch. PM and Tags are in every project dialog (Always); the others are not dialog fields (—).
By default the details show what they always did: Customer, PM, Confirmed, Tags, Period, Completion, Work days, Total and Assigned staff. Sales PM, Volume and custom fields are off until you switch them on. The order of the details is fixed; you choose what is shown, not where. A row with no value for a project is left out of that project's details.
Changes apply right away, for everyone — there is no Save button. Saving… and then Saved show at the top of the page while a change is written; if a change is refused, the message shows there and the page goes back to what is stored.
On a phone the column headings are hidden and each switch, and the Always / — of the dialog column, is captioned Dialog or Gantt.
Custom Fields¶
In the add row under the Custom fields list, type the new field's name, pick its type and click Add field:
| Type | In the project dialog |
|---|---|
| Dropdown | One item of a list |
| Multi-select dropdown | Any number of items of a list |
| Text | Free text, up to 2,000 characters |
| Number | A number, kept to the field's Format |
| Switch | On or off |
- Order — Drag fields to change the order of the project dialog, the Filter and the Group by / Colour by lists.
- Edit — Click the pencil to rename the field (and, on a number field, change its Format), then Save; Cancel or Escape discards the edit. A field's type cannot be changed after it is created.
- Format — A number field's Format is picked in the add row while Number is chosen, or in its edit form. It is shown as the pattern of the number 1: As typed keeps every decimal entered, 1, 1.0, 1.00 and 1.000 keep none to three. A line under the picker previews the choice: "Values are saved as typed.", or for 1.0 "12.345 is saved and shown as 12.3." — in the edit form followed by "Existing values are not changed, only shown rounded." New values are rounded half up when saved (2.5 → 3, 0.125 → 0.13 at 1.00), and the project dialog shows the field in that format: it does not let you type more decimals than the format keeps (12.34 cannot be entered at 1.0) and completes the missing ones when you leave the box (12 → 12.0). Its figures are drawn in a medium weight with the digits aligned, at the size of the other fields, so the decimal separator stands out. Values saved before are not changed; they are shown — and exported — rounded. The site export writes the values in the field's format, so Excel shows 12.0 at 1.0 rather than 12. In the Custom fields list the field's Format column shows it (1.0, or As typed), under Volume's, and the type pill reads just Number.
- Delete — Click the bin; the confirmation says how many projects hold a value, and every value of the field is removed.
No field is required, and custom fields cannot be hidden — they are always in the project dialog (Always); delete one you no longer need. Each custom field has an In Gantt details switch, off for a new field: switched on, the Shift-hover details show the field after the assigned staff, in the order of the list. A dropdown field shows its items as coloured pills there, a switch Yes or No, a number in the field's format.
Dropdown Items¶
Click the list icon (Items) of a dropdown or multi-select dropdown field (a new one opens there directly) to edit its items:
- Add — Type the item's name, pick a colour and click Add item. A new item is available at all sites.
- Name, colour and sites — Click the pencil on an item. By default an item applies to all sites; switch that off to pick the sites where it is offered. For each site that has teams, leave Whole site on, or switch it off and tick teams: at that site the item is then offered only on projects of those teams. Restricting an item is refused while a project at a removed site, or outside the ticked teams, still holds it; the message says how many.
- Order — Drag items to reorder them within the field. The order decides which item a project is grouped under and coloured by when it holds several.
- Delete — Removes the item from every project; you are asked to confirm.
The item colours are the dots in the project dialog's multi-select dropdowns, the Filter dots, the section headers of Group by and the bar colours of Colour by.
Preview¶
A Preview card beside the list (under it on a narrow window) shows a sample project with every field filled. Its two buttons switch between:
- Gantt details (the default) — the Shift-hover details, built the way the Gantt chart builds them, with the rows switched on.
- Project dialog — the dialog's fields with their labels, only the ones shown in the dialog.
The preview follows every switch at once and a label while you type it. It uses sample values — Sample project, Example Ltd, today's date and the next 90 days, the first two tags — and its controls are dimmed: it is a picture of the result, not a form. What you switch here is what everyone sees, right away.
Former tag groups
Version 2.0.0 turned tag groups into project fields. On upgrade, each tag group became a dropdown field — a single-select group a Dropdown, any other group a Multi-select dropdown — with its tags as the items, keeping their colours, order and site and team limits; projects keep what they had selected. Tags that were in no group stay tags.
Tags¶
Tags are coloured labels attached to projects (see Tags in the Gantt chart). Admins manage them in Settings → Tags; everyone who can edit a project attaches them from the project dialog. Categories with fixed choices, such as a project type, belong in a dropdown project field.

- Name and colour — Edit the name inline; pick a colour from the swatches or enter a custom one.
- Sites — By default a tag applies to all sites. Switch that off to pick the sites where the tag is offered. Restricting a tag is refused while projects at a site you are removing still use it. Deleting a site also deletes tags that were limited to that site only.
- Teams — For each site where the tag applies and that has teams, leave Whole site on, or switch it off and tick teams: at that site the tag is then offered only on projects of those teams. Limiting a tag is refused while a project outside the ticked teams still uses it. The tag list shows limited to N teams next to the sites.
- Order — Drag tags to reorder them; the order is the one of the picker, the Filter and Colour by → Tags.
- Delete — Removes the tag from every project; you are asked to confirm.
Predefined Phases¶
Phase templates that appear as options when creating a new project — pre-selected, unless an administrator turned that off in Features & defaults.

Managing Templates¶
- Open Settings → Predefined phases (Admins and Superusers)
- Each template has:
- Name — The phase name (e.g., "Planning", "Execution", "Review")
- Color — Color used for the phase bar on the timeline
- Active/Inactive — Only active templates appear in the project creation modal
- Display Order — Drag to reorder how templates are listed
How Templates Work¶
When creating a new project, all active predefined phases are pre-selected as checkboxes. Uncheck any you don't need for that project. The selected phases are created with default durations matching the project's start and end dates.
Adding a Template¶
- Click + Add Phase
- Enter the name and pick a color
- The new template is active by default and appears at the end of the list
- Drag to reorder as needed
Custom Columns¶
Add custom data fields to the project panel in the Gantt chart. See Gantt Charts — Custom Columns for full details on creating, editing, and using custom columns.
Real-Time Collaboration¶
Milestone Planner includes real-time collaboration features so teams can see who else is active, receive live change notifications, and avoid conflicting edits.
Online Users¶
The Online Users indicator in the header shows how many users are currently connected, as a stack of colored avatars next to a green status dot. This uses a WebSocket connection that updates automatically — when someone opens or closes Milestone, the list refreshes in real-time.

Hover the avatar stack to open a dropdown listing every connected user by name:

Presence Tracking¶
Presence is tracked over your WebSocket connection: joining and leaving is announced the moment you connect or disconnect, with a periodic keepalive ping in between. The Online Users dropdown reflects who is currently connected in your workspace.
Presence is tracked per project, so multiple users can work on different projects simultaneously without interference.
Conflict Detection¶
Before saving changes (such as moving a phase or updating assignments), Milestone checks for potential conflicts:
- Active editors — If another user is currently editing the same project, you'll see a warning listing who else is editing
- Recent modifications — If the project was modified since you last loaded it, a warning shows who made the last change and when
This prevents two users from unknowingly overwriting each other's work.
Live Change Notifications¶
When another user modifies a phase, subphase, or assignment, a toast appears in the bottom-right corner via WebSocket. Cascaded changes from the same user are coalesced into a single toast within a short window (e.g. "Bob B. made 2 changes in Bioprocess Scale-Up").

Toasts appear for about 6 seconds before fading. The notification includes the user's avatar, name, and a summary of what changed.
Notifications¶
The activity feed above is transient and shows what everyone is doing. The notification bell in the header is the opposite: it is personal, it persists, and it keeps an unread count until you read it.
You are notified when someone:
| Notification | Clicking it opens |
|---|---|
Assigns you to a Kanban card, comments on a card you are assigned to, mentions you with @, or moves one of your cards to another column |
The card on the Kanban board |
| Comments on a project you are booked on as a whole, or mentions you in that project's thread (see Comments on a booking) | The project on the Gantt chart |
| Asks for your approval to book themselves, change or remove their booking | My Work → My Approvals |
| Approves, rejects or (as an administrator) cancels your request, or your request expires | My Work → My Requests, showing decided requests |
| Books you on a project, phase or subphase, changes your allocation or dates, removes you, moves the dates of a phase or subphase you are booked on, deletes one, or deletes the project | The project on the Gantt chart (or, for a phase or subphase, its card on the Kanban board; a deleted project: marked as read) |
| (project managers) Changes your project: books, changes or removes someone's time or an equipment booking, edits the name, dates, customer, confirmed status or volume, archives or restores it, hands it over to you or from you, adds, moves or deletes a phase or subphase, deletes the project, or approves a request on it | The project on the Gantt chart (or the card on the Kanban board; a deleted project: marked as read) |
You are never notified about your own actions. If one event concerns you twice, you get the most specific notification only — a mention before an approval request, then a decision, an assignment, a change to your booking, a change to your project, a card move and a comment.
Changes to your plan merge into one line. Booking and project-change notifications go only to the person whose booking changed and to the project's manager — never to the person who made the change, and never to other administrators or superusers. Several changes by the same person on the same project update one unread line ("3 changes by Alice Anderson on Bioprocess Scale-Up", showing the latest change) instead of adding a new one, as long as each change comes within ten minutes of the previous one — the window restarts with every change, so one line can cover a long editing session. Once you have read it, or after ten quiet minutes, the next change starts a new line. Dragging a phase on the Gantt chart, which also moves its subphases and bookings, therefore gives each person one line. Changes waiting for approval notify nobody until they are approved.
Clicking a notification about a project on another site switches to that site first. A project that no longer exists, or that you can no longer see, shows a short message instead; the notification of a deleted project is only marked as read.
When the Kanban board is turned off
An administrator can turn the Kanban board off for everyone (Features & defaults). Card notifications then open the project on the Gantt chart instead of the board.
Notifications are stored per user, so they survive a reload or a restart — you will not miss one because a browser tab was closed. See the Kanban Board guide for the full list of triggers.
Deleting and clearing. The × beside a notification deletes it. Clear all, next to Mark all read at the top of the panel, deletes every notification in your inbox — including older ones the panel does not show — after you confirm; it affects only your own inbox, and the due-soon reminders below stay. Read notifications are kept for 30 days: one you read more than 30 days ago is deleted the next time your inbox loads. An unread notification is never deleted automatically.
Due and overdue reminders are worked out in your browser
Reminders for cards due soon or already overdue are derived from the plan you have loaded, rather than being generated on the server. They need no setup, but they only appear while the application is open — there is no email or push notification, and nothing arrives overnight. Opening one or clicking its × dismisses it in your browser until its card is due again.
WebSocket Connection¶
The real-time features use a WebSocket connection that:
- Auto-connects when you log in
- Reconnects automatically if the connection drops (with exponential backoff, up to 5 attempts), and tries again straight away when your network comes back or you switch back to the browser tab
- Maintains a keepalive ping every 25 seconds to prevent timeouts
- Gracefully degrades — if WebSocket is unavailable (e.g., behind a restrictive proxy), the app continues to work normally; you just won't see live updates from other users
The connection status is visible in the Online Users indicator: a connected state shows the user count, while a disconnected state shows a fallback icon. While live updates are disconnected, an Offline badge also appears in the header; your own edits keep saving, but colleagues' changes only arrive once the badge is gone.
Live updates now also cover custom-column values and definitions, instance settings (title, weekends) and changes to your own account: if an admin changes your role or sites, or the permissions of your role, it applies without a reload — buttons and views appear or disappear accordingly. Approval requests and decisions update the affected bookings and everyone's My Work live; your own requests reach only you. If your account is deactivated, deleted or demoted, or your password is reset, your session ends at once and you are returned to the login screen.
For security, the server refuses live-update connections opened from other websites.
Note
WebSocket connections require proper proxy configuration. If you're behind nginx or a load balancer, ensure WebSocket upgrade headers are passed through. See the Installation guide for reverse proxy configuration examples.
Best Practices¶
- Check online users before making major changes — if someone else is editing the same project, coordinate with them
- Pay attention to conflict warnings — they appear before you save and help prevent lost work
- Refresh if needed — if you've been idle for a long time, refresh the page to get the latest data before editing
Keyboard Shortcuts & Tips¶
Shortcuts¶
| Shortcut | Action |
|---|---|
| Shift + Hover | Show tooltip with details for a project, phase or subphase |
| Ctrl + Scroll | Zoom the timeline in/out |
| Click arrow | Expand/collapse a project, phase, or staff member |
| Right-click | Open context menu with available actions |
| Drag bar | Move a phase/subphase to new dates |
| Drag bar edge | Resize a phase/subphase duration |
| Drag staff/equipment | Assign to a project bar on the timeline |
| Home | Scroll the timeline to today |
| + / − | Zoom the timeline in / out |
| Ctrl/Cmd + Z | Undo (on the Gantt chart, or on a dashboard you are editing) |
| Ctrl/Cmd + Y, Ctrl/Cmd + Shift + Z | Redo (on the Gantt chart, or on a dashboard you are editing) |
| Esc | Cancel dependency linking or a phantom sibling bar |
Keyboard shortcuts are ignored while a dialog is open, so typing in a dialog never acts on the Gantt chart behind it. In a dialog, Esc closes the dialog (or only the open picker inside it).
Tips for Efficient Use¶
- Use the site selector to focus on one location at a time — this filters projects, staff, and equipment to the relevant site
- Zoom to fit — Use Quarter (Q) or Year (Y) view for high-level overview, then Week (W) for detailed scheduling
- Custom columns are great for tracking metadata like priority, budget codes, or risk levels
- Import ICS files to quickly load team vacations from Outlook — much faster than manual entry
- What-If mode is invaluable for planning ahead — experiment with allocations without disrupting the live schedule
- Check online users to see who else is viewing the same data — helps coordinate real-time changes
Admin Guide
Admin Guide Overview¶
This guide covers installation, configuration, and administration of Milestone Planner, including multi-tenant SaaS deployment.
Deployment Modes¶
Milestone supports two deployment modes:
Single-Tenant¶
A single organization with one database. Simplest setup — suitable for on-premises or small-team deployments.
- One PostgreSQL database holds all data
- No master database or admin portal needed
- Users are managed within the application
Multi-Tenant (SaaS)¶
Multiple organizations, each with an isolated database. Includes a centralized admin portal for tenant and organization management.
- Master database (
milestone_admin) stores tenant registry, admin users, organizations, and SSO config - Tenant databases (
milestone_<slug>) hold per-tenant isolated data - Admin portal at
/admin/for tenant lifecycle management - Organization-level SSO with Microsoft Entra ID
- Automatic database provisioning for new tenants
System Requirements¶
| Component | Requirement |
|---|---|
| OS | Linux (Ubuntu 22.04+ recommended), macOS, or Windows with Docker |
| Docker | Docker Engine 24+ and Docker Compose v2 |
| PostgreSQL | 15+ (included in docker-compose.fresh.yml) |
| Memory | 1 GB minimum (2 GB+ recommended for multi-tenant) |
| Disk | 500 MB for application + database storage |
| Java | JRE 11+ (for MPP file import; included in Docker image) |
| Node.js | 24 (for frontend development only; not required for production) |
Architecture Overview¶
┌─────────────────────────────────────┐
│ Port 8485 │
│ FastAPI Backend │
├─────────────────────────────────────┤
│ /api/* → API endpoints │
│ /t/{slug}/api/* → Tenant API │
│ /admin/ → Admin SPA │
│ /t/{slug}/* → Tenant SPA │
│ /* → Main SPA │
│ /health → Health check │
└──────────┬──────────────────────────┘
│
┌──────────┴──────────────────────────┐
│ PostgreSQL 15+ │
├─────────────────────────────────────┤
│ milestone_admin (master DB) │
│ milestone_acme (tenant DB) │
│ milestone_pharma (tenant DB) │
│ ... │
└─────────────────────────────────────┘
The FastAPI backend serves both the API and the pre-built React frontend as static files. All authentication is session-based with secure cookies.
Installation¶
Quick Start (Fresh Install)¶
The fastest way to get Milestone running with a self-contained PostgreSQL instance:
# Clone the repository
git clone https://github.com/vincentmakes/milestone-planner.git
cd milestone-planner
# Create environment file
cp .env.example .env
# Edit .env — SESSION_SECRET is REQUIRED (it ships empty). Generate one with:
# python -c "import secrets; print(secrets.token_hex(32))"
# Start everything (PostgreSQL + app)
docker compose -f docker-compose.fresh.yml up -d
SESSION_SECRET is required
docker-compose.fresh.yml reads SESSION_SECRET from .env and refuses to start
when it is missing (Set SESSION_SECRET in .env …). The application itself also
refuses to start with DEBUG=false when SESSION_SECRET is empty or one of the
published example values (the old built-in default or the placeholders from earlier
.env.example / compose files). Pick a fresh random value per installation — it signs
sessions and SSO sign-in state, and in single-tenant mode it is also the source of the
key that encrypts the stored SSO client secret (see
Organization & SSO).
The fresh install will:
- Start a PostgreSQL 15 container
- Wait for database readiness
- Auto-create databases and apply schema
- Seed a default admin user
- Start the application
Check the logs for the generated admin password:
Access the application at http://localhost:8486/.
Production Deployment¶
For production with an external PostgreSQL instance:
1. Configure Environment¶
Edit .env with your production settings:
# Database
DB_HOST=your-db-host
DB_PORT=5432
DB_NAME=milestone
DB_USER=milestone
DB_PASSWORD=<strong-password>
# Security (generate with: python -c "import secrets; print(secrets.token_hex(32))")
# REQUIRED: with DEBUG=false the server will not start on an empty or example value.
SESSION_SECRET=<64-char-random-string>
# HTTPS
SECURE_COOKIES=true
2. Set Up Database¶
Or manually:
CREATE DATABASE milestone;
CREATE USER milestone WITH PASSWORD 'your_password';
GRANT ALL PRIVILEGES ON DATABASE milestone TO milestone;
\c milestone
-- Run the tenant schema from setup_databases.sql
3. Start the Application¶
For a managed or external PostgreSQL (RDS, Azure Database, Cloud SQL, or your own server), use the external-DB compose file — it can auto-create the databases and seed an admin when PG_ADMIN_* credentials are provided:
docker-compose.yml is deployment-specific
The plain docker-compose.yml at the repository root targets a specific Unraid
deployment — it references an external Docker network (guac-net) and a hardcoded
host path, so docker compose up -d fails on machines without that setup. Use
docker-compose.fresh.yml or docker-compose.external-db.yml instead, or copy
docker-compose.yml and adapt the network and volume entries to your host.
4. Create First User¶
The simplest path is auto-initialization: set AUTO_INIT_DB=true (plus optional INIT_ADMIN_EMAIL / INIT_ADMIN_PASSWORD) before first start — the entrypoint creates the schema and seeds an admin, printing a generated password in the container logs if you didn't set one.
If the database was set up manually without auto-init, create or reset the admin with the helper script (it hashes the password correctly for you):
5. Enable Multi-Tenant Mode (Optional)¶
See Multi-Tenant Management for SaaS deployment configuration.
GitHub Codespaces (Demo / Development)¶
Launch a fully configured development environment in your browser:
The Codespace includes:
- Python 3.11 with all backend dependencies
- Node.js 24 with frontend dependencies
- PostgreSQL 15 (auto-configured)
- VS Code extensions for Python, TypeScript, Docker
- Forwarded ports: 8485 (app), 3333 (Vite dev), 5432 (PostgreSQL)
- Pre-seeded demo tenant with sample projects, staff, and equipment
The backend starts automatically on port 8485 (serving the pre-built frontend), so the demo is usable as soon as the Codespace is ready — no commands needed. For frontend development with hot reload, optionally start the Vite dev server:
Demo Credentials¶
| Access | URL | Password | |
|---|---|---|---|
| Admin Portal | /admin/ |
[email protected] |
demo1234 |
| Demo Tenant | /t/demo/ |
[email protected] |
demo1234 |
The demo tenant includes:
- 2 sites: Winterthur (CH), Frankfurt (DE), each with its public holidays and a shared year-end closure
- 5 projects (one archived) with phases, nested subphases, dependencies, two dropdown project fields (Project type, Area), tags, custom columns and Kanban comments
- 9 people with skills and site assignments — including a part-time member, a plain user who manages one project, someone on both sites and an inactive account
- 8 equipment items (one shared by both sites) with bookings and maintenance blocks
- 6 skills (Project Management, HPLC, Data Analysis, Cell Culture, Technical Writing, Quality Control)
- Absences of every type, including a recurring Home Office pattern
All staff accounts use password demo1234.
Reverse Proxy (SSL/TLS)¶
For production, place a reverse proxy (nginx, Caddy, or Cloudflare Tunnel) in front of port 8485:
server {
listen 443 ssl http2;
server_name milestone.example.com;
ssl_certificate /etc/ssl/certs/milestone.pem;
ssl_certificate_key /etc/ssl/private/milestone.key;
location / {
proxy_pass http://127.0.0.1:8485;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Set SECURE_COOKIES=true in .env when serving over HTTPS.
Trust the proxy's X-Forwarded-For (FORWARDED_ALLOW_IPS)¶
The container starts uvicorn with --proxy-headers --forwarded-allow-ips "${FORWARDED_ALLOW_IPS:-127.0.0.1}":
the client address is taken from X-Forwarded-For only for requests coming from the
listed addresses. When the proxy runs in another container or on another host (the usual
case: nginx / Traefik / Nginx Proxy Manager on a Docker network), it is not 127.0.0.1, so
by default every visitor appears to come from the proxy's address.
That matters for the failed-login lockout, which is keyed on client IP + e-mail (10
failures in 15 minutes → HTTP 429): if all clients share the proxy's address, ten wrong
passwords from anyone lock that e-mail out for everyone — a way to block a known account.
Set in .env:
# The proxy's IP address(es), comma-separated
FORWARDED_ALLOW_IPS=172.18.0.2
# Or trust any sender — ONLY if port 8485 is reachable solely through the proxy
# (private Docker network, port not published to the outside); otherwise clients
# could forge X-Forwarded-For and pick their own address.
# FORWARDED_ALLOW_IPS=*
A second limit, 100 failures in 15 minutes per client IP (any e-mail), stops password spraying from one address. It only applies to public client addresses — never to private, loopback or carrier-NAT ones, which a proxy or NAT may share between many users.
Ports¶
| Port | Service | Description |
|---|---|---|
| 8485 | FastAPI | Production application (API + frontend) |
| 8486 | FastAPI | Fresh install default (configurable via FRESH_APP_PORT) |
| 3333 | Vite | Frontend dev server with hot reload |
| 5432 | PostgreSQL | Database (default) |
| 5433 | PostgreSQL | Fresh install DB (configurable via FRESH_DB_PORT) |
Network & Firewall Requirements¶
Milestone runs entirely on your infrastructure, but a few features make outbound calls from the server to the internet, and real-time collaboration uses a WebSocket. Organizations that block server-to-internet egress or WebSocket connections by default must allow the following.
Outbound URLs to allow (server → internet)¶
Allow the application server to reach these hosts over HTTPS (443):
| Host | Purpose | Required? |
|---|---|---|
nagerholidays.com |
Public/bank-holiday import for sites (GET /api/v4/Holidays/{country}/{year}) |
Optional — only when a site has a country code |
login.microsoftonline.com |
Microsoft Entra ID sign-in — authorize + token endpoints | Only if SSO is enabled |
graph.microsoft.com |
Microsoft Graph — user profile and group membership | Only if SSO is enabled |
Holiday import fails soft
The holiday API base URL is configurable with NAGER_API_URL (default
https://nagerholidays.com/api/v4). If the host is unreachable, holiday import is skipped
and logged — creating or editing a site still succeeds; the site keeps whatever bank
holidays it already had until it can reach the API.
Upgrading from a version before 1.1.0
Earlier releases defaulted to https://date.nager.at/api/v3. If your firewall allows
only date.nager.at, add nagerholidays.com — otherwise holiday import stops working
after the upgrade. A NAGER_API_URL pinned to a /api/v3 URL in your .env is still
detected and used (a warning is logged), but version 3 of the holiday API reaches end of
life on 2027-01-31, so plan to switch to https://nagerholidays.com/api/v4.
Outbound proxy coverage
The holiday API call honours the outbound-proxy settings (HTTP_PROXY, HTTPS_PROXY,
PROXY_USERNAME/PROXY_PASSWORD, PROXY_PAC_URL, PROXY_CA_CERT,
PROXY_VERIFY_SSL). The Microsoft Entra sign-in calls currently connect directly
and do not route through those proxy variables — if all egress must go through a proxy,
allow login.microsoftonline.com and graph.microsoft.com at the firewall/proxy level
rather than relying solely on the app's proxy settings.
Inbound, only the application port needs to be reachable by users (see Ports) — typically fronted by your reverse proxy on 443.
WebSocket (real-time collaboration)¶
Milestone uses a WebSocket for live presence ("who's online") and to auto-refresh other
users' views when data changes. It is same-origin — the same host and port as the app
(8485), upgraded from HTTP — so there is no separate host or port to allow. The
connection is wss:// when the app is served over HTTPS, ws:// otherwise, on paths
/ws (single-tenant) and /t/{slug}/ws (multi-tenant).
For it to work through a reverse proxy or corporate proxy:
- Pass the upgrade headers. Forward
Upgrade: websocketandConnection: upgrade(see the nginx block under Reverse Proxy (SSL/TLS) — theproxy_http_version 1.1+Upgrade/Connectionlines). - Forward cookies on the handshake. Authentication uses the
connect.sidsession cookie sent with the upgrade request; a proxy that strips cookies will cause the connection to be rejected. - Use a generous idle timeout. The client sends a keepalive ping every ~25 seconds, so set the proxy's WebSocket/idle timeout to at least 60 seconds to avoid premature disconnects.
- Keep the
Hostheader (or setX-Forwarded-Host). The server refuses WebSocket handshakes whoseOriginbelongs to another site (cross-site WebSocket hijacking guard, close code 4003). TheOriginhost must equal the request'sHostorX-Forwarded-Host, or be listed inCORS_ORIGINS. The nginx example above passesHost $host; a proxy that rewritesHostto the upstream address must sendX-Forwarded-Hostinstead.
Milestone still works without WebSockets
If WebSocket connections are blocked, the application remains fully usable over normal
HTTPS — you lose only live presence and automatic refresh (users reload to see others'
changes). While live updates are disconnected the header shows an Offline badge.
The client retries a few times with backoff, then waits and tries again as soon as the
browser reports the network is back or the tab becomes visible; there is no
long-polling fallback. As a last resort the frontend has a WEBSOCKET_DISABLED build flag that turns
the real-time layer off entirely.
Multi-Tenant Management¶
Multi-tenant mode enables SaaS deployment where each organization gets an isolated database. A centralized admin portal at /admin/ manages the entire platform.

Enabling Multi-Tenant Mode¶
Add these settings to your .env:
# Enable multi-tenant
MULTI_TENANT=true
# Master database (stores tenant registry, admin users, organizations)
MASTER_DB_HOST=localhost
MASTER_DB_PORT=5432
MASTER_DB_NAME=milestone_admin
MASTER_DB_USER=postgres
MASTER_DB_PASSWORD=<master-db-password>
# PostgreSQL admin credentials (for auto-provisioning tenant databases)
# Needs CREATEDB and CREATEROLE privileges
PG_ADMIN_USER=postgres
PG_ADMIN_PASSWORD=<postgres-admin-password>
# Encryption key for tenant database credentials (required!)
# Generate: python -c "import secrets; print(secrets.token_hex(32))"
TENANT_ENCRYPTION_KEY=<64-char-hex-string>
The master database schema is auto-applied on startup by master_db.init_db().
Admin Portal¶
Access the admin portal at /admin/. It has four tabs:
Tenants¶
Each tenant represents a separate organization with its own isolated database.
| Action | Description |
|---|---|
| Create Tenant | Register a tenant (name, slug, admin e-mail, plan, limits); optionally provision it right away with demo data |
| Provision Database | Create the tenant's database, apply the schema and create the admin account — with or without demo data |
| View Details | See tenant metadata, database info, connection status, audit log |
| Show Credentials | Display the generated admin e-mail/password with copy-to-clipboard |
| Reset Admin Password | Generate a new password for the tenant's admin |
| Suspend / Activate / Archive | Change the tenant's status |
| Delete | Remove a suspended tenant and its database (with confirmation) |
Creating a tenant stores its record in the master database with a generated,
AES-256-GCM-encrypted database password and the status pending. Provisioning then:
- Creates a dedicated PostgreSQL user with restricted permissions
- Creates the tenant database (
milestone_<slug>) owned by that user - Applies the full tenant schema
- Seeds the database — either the bare defaults (an initial admin user, a Main Site, the default phase templates and skills) or, with Seed demo data switched on, the sample company described below
- Sets the tenant to
activeand shows the admin password once
Tenants are accessed via URL pattern: /t/{slug}/
Demo data¶
The Seed demo data switch (in the Create Tenant dialog and in the Provision dialog) fills a new tenant with the same data set as the Codespaces demo tenant and the documentation screenshots: two sites (Winterthur and Frankfurt), nine people with skills and part-time capacity, four projects with phases, nested subphases and dependencies, staff and equipment bookings, equipment blocks, Swiss and German bank holidays, a site closure, absences of every type, project fields, tags, custom columns, Kanban comments with mentions and notifications. Dates are relative to the day you provision.
- The tenant's admin e-mail becomes the demo's system administrator and signs in with the generated credentials shown after provisioning.
- The sample people (e.g.
[email protected]) are staff to plan with, not accounts: they get a random, discarded password and cannot sign in. To show multi-user features, give one of them a password in Settings → Users. (Only the Codespaces demo tenant usesdemo1234.) - Creating a tenant with the switch on provisions the database right away. If provisioning
fails, the tenant stays
pendingand the Provision Database action offers the switch again.
Organizations¶
Organizations group related tenants and share SSO configuration.
| Action | Description |
|---|---|
| Create Organization | Set up with name and admin email |
| Assign Tenants | Link tenants to the organization |
| Configure SSO | Set up Microsoft Entra ID for the organization |
| Delete | Remove organization (tenants are unlinked, not deleted) |
Admin Users¶
Admin users have access to the admin portal (separate from tenant application users).

| Capability | Admin | Superadmin |
|---|---|---|
| View tenant list | Yes | Yes |
| Create/edit/delete tenants | Yes | Yes |
| Provision tenant databases | Yes | Yes |
| View tenant audit logs | Yes | Yes |
| View organizations | Yes | Yes |
| Configure organization SSO | Yes | Yes |
| Manage admin users | No | Yes |
| View system statistics | Yes | Yes |
- The Admin Users tab is only visible to superadmins
- Regular admins can manage tenants and organizations but cannot create or modify other admin accounts
- Admin roles are validated: only
adminandsuperadminare accepted
Admin-portal sign-in and passwords¶
- Forced password change. An admin flagged must change password (for example the
auto-created
[email protected]) can sign in and change their password, but every other admin-portal request is refused (403) until they have. This is enforced by the server, not only by the login screen. - Password rules. New and changed admin passwords must be at least 8 characters.
- Password hashing. Admin passwords are stored as PBKDF2-SHA512 with 600 000 iterations
in a self-describing format (
pbkdf2_sha512$600000$<salt>$<hash>). Hashes created by earlier versions (salt:hash, 10 000 iterations) keep working and are upgraded automatically at the admin's next successful sign-in. - Failed-login throttle. After 10 failed sign-ins for the same e-mail from the same IP
address within 15 minutes, further attempts are refused with "Too many failed sign-in
attempts" (HTTP 429) until the oldest failure is 15 minutes old. A successful sign-in
resets the counter, and sign-in takes the same time whether or not the e-mail exists.
The lockout is per IP + e-mail, not per account, so behind a reverse proxy set
FORWARDED_ALLOW_IPS(see Installation). A public IP address is additionally limited to 100 failures per 15 minutes across all e-mails. Workspace (tenant) sign-in is throttled the same way, separately per workspace. The counters live in memory per server process: restarting the app clears them, and with several worker processes each keeps its own count.
System Statistics¶
Overview of the platform deployment — tenant counts by status, database connection pools, server uptime/memory, and Python version.

Tenant Database Architecture¶
┌─────────────────────────────────────────────┐
│ Master Database │
│ (milestone_admin) │
├─────────────────────────────────────────────┤
│ tenants → Tenant registry │
│ admin_users → Admin portal users │
│ organizations → Organization groups │
│ organization_sso → SSO config per org │
└─────────────────────────────────────────────┘
│
├──── milestone_acme (tenant DB)
│ ├── users, projects, phases
│ ├── staff assignments
│ ├── equipment, bookings
│ ├── settings, sites, skills
│ └── vacations, notes, columns
│
├──── milestone_pharma (tenant DB)
│ └── (same schema, isolated data)
│
└──── milestone_biotech (tenant DB)
└── (same schema, isolated data)
Key Isolation Guarantees¶
- Each tenant has a separate PostgreSQL database — no shared tables
- Each tenant database has a dedicated database user with access only to its own database
- Tenant credentials are encrypted at rest with AES-256-GCM
- Tenant resolution is URL-based (
/t/{slug}/api/*) viaTenantMiddleware - Cross-tenant data access is architecturally impossible
Tenant Lifecycle¶
Creating a Tenant¶
- Log in to the admin portal at
/admin/ - Click Create Tenant
- Fill in the tenant name, slug (URL-safe identifier) and admin e-mail; switch on Seed demo data for an evaluation tenant (see Demo data)
- Click Provision Database on the new row (skipped when the demo-data switch was on — the tenant is provisioned on creation), choose whether to seed the demo data, and confirm
- Copy the admin credentials from the dialog that opens — the password is shown only once (Reset Admin Password generates a new one later)

Suspending a Tenant¶
Set the tenant's status to Suspended (or Archived). The tenant's database remains
intact but its workspace URL answers "This organization has been suspended" (or archived)
and users cannot use it. Status values are validated: pending, active, suspended,
archived.
Status changes, edits and deletion take effect immediately on the server process that handled them — the tenant lookup cache entry is dropped and the tenant's connection pool is closed. Other worker processes pick the change up within the 60-second cache window.
Deleting a Tenant¶
Danger
Deleting a tenant drops the entire database. This action is irreversible.
- Click the delete button on the tenant row
- Confirm the deletion
- The system drops the tenant database and removes the record from the master database
Running Migrations Across Tenants¶
When schema changes are needed across all tenant databases:
# Run a migration on all tenant databases
python migrations/run_migration.py <migration_name>
# Run a migration on the master database only
python migrations/run_migration_master.py <migration_name>
See Database & Migrations for details.
Connection Pool Management¶
The TenantManager service manages database connection pools for each active tenant:
- Connection pools are created on-demand when a tenant is first accessed (one at a time per tenant, so a burst of first requests opens a single pool)
- Pools are cached and reused for subsequent requests
- If a workspace's pool cannot be created (credentials missing or unreadable, database
down), its requests get a 503 "Organization database is unavailable" — the server never
falls back to the default
DB_*database - Unknown workspace slugs are cached as misses for 60 seconds, so requests for a non-existent slug do not query the master database each time
- Pool size is configurable via
DB_POOL_SIZEandDB_POOL_MAX_OVERFLOWenvironment variables - Idle connections are reclaimed automatically
Security Considerations¶
| Area | Implementation |
|---|---|
| Data isolation | Separate PostgreSQL databases per tenant |
| Credential storage | AES-256-GCM encryption for tenant DB credentials and for SSO client secrets (organization and tenant level) |
| Authentication | Session-based with secure cookies; per-tenant user stores; failed-login throttle (10 per 15 min per IP + e-mail); deactivating, deleting or demoting a user ends their sessions and live connections at once |
| Error messages | Health checks and tenant errors never reveal database hosts, users or SQL — details go to the server log |
| Authorization | Roles with editable permissions within each tenant (Administrator, Superuser, User and custom roles), limited to each user's sites; own bookings can require approval |
| SSO | Microsoft Entra ID configured per organization, shared across org's tenants |
| Admin access | Separate admin user store in master database |
Organizations & SSO¶
Organizations¶
Organizations group related tenants together and provide shared SSO configuration. For example, a company with separate Milestone instances for different departments can share a single Microsoft Entra ID setup.

Creating an Organization¶
- Go to the Organizations tab in the admin portal
- Click Create Organization
- Enter the organization name and admin email
- Click Create
Assigning Tenants¶
After creating an organization, assign tenants to it:
- Edit the organization
- Select tenants from the dropdown
- Save changes
Tenants inherit the organization's SSO configuration automatically.
Microsoft Entra ID (SSO)¶
Milestone supports enterprise SSO through Microsoft Entra ID (formerly Azure AD).
Prerequisites¶
- An Azure AD tenant
- An App Registration in Azure AD
- A client secret for the App Registration
- The redirect URI configured in Azure AD
- Outbound HTTPS access from the Milestone server to
login.microsoftonline.comandgraph.microsoft.com(see Network & Firewall Requirements)
Redirect URI¶
Milestone uses a single, shared callback URL for all SSO sign-ins:
One redirect URI for the whole organization
Do not add the tenant path (/t/{slug}/...) to the redirect URI. Milestone carries
the tenant through the sign-in flow internally, so this one URL works for every
tenant in the organization. Register it once per App Registration and reuse it — you do
not need a separate redirect URI per tenant.
Use the same value in three places: the Azure App Registration, the Redirect URI
field in Milestone's SSO configuration, and (single-tenant only) SSO_REDIRECT_URI.
They must match exactly.
Azure AD App Registration¶
- Go to Azure Portal > Azure Active Directory > App Registrations
- Click New Registration
- Set the redirect URI (platform Web) to:
https://your-domain.com/api/auth/sso/callback - Under Certificates & secrets, create a new client secret
- Note the Application (client) ID, Directory (tenant) ID, and the client secret value
Configuring SSO in Milestone¶
SSO can be configured at two scopes:
Per-Organization (Multi-Tenant):
- In the admin portal, go to the Organizations tab
- Click the SSO configure button on the organization
- Enter:
- Client ID — Application (client) ID from Azure
- Tenant ID — Directory (tenant) ID from Azure
- Client Secret — The secret value
- Redirect URI —
https://your-domain.com/api/auth/sso/callback(the shared URL above) - Save configuration

All tenants in the organization share this SSO setup.
Per-Tenant (Multi-Tenant):
A tenant that does not belong to an organization can configure its own SSO from the Settings → SSO section inside the application (admin only), using the same fields and the same shared redirect URI.
Test configuration next to Save Configuration asks Microsoft about the values as they are entered in the form, before anything is saved (a blank secret field tests the stored secret) — see Test configuration.
When SSO is already live, saving a change to the sign-in values — the Tenant ID, the Client ID, the client secret, the redirect URI, or switching SSO off — asks you to type CHANGE first. The dialog lists what you are changing. Only people who sign in with Microsoft only are affected by a wrong value: password sign-in always keeps working. Changing only the auto-create option or the default role saves without asking.
Organization SSO takes precedence
If a tenant belongs to an organization that has SSO enabled, the organization's configuration always applies and the tenant-level SSO form is shown read-only — a per-tenant configuration would be ignored. To configure SSO per tenant, remove the tenant from the organization (or disable the organization's SSO).

Per-Instance (Single-Tenant):
Configure SSO in Settings → SSO within the application, or set environment variables:
SSO_ENABLED=true
SSO_CLIENT_ID=your-azure-app-client-id
SSO_CLIENT_SECRET=your-azure-app-client-secret
SSO_TENANT_ID=your-azure-tenant-id
SSO_REDIRECT_URI=https://your-domain.com/api/auth/sso/callback
SSO Login Flow¶
- User clicks Sign in with Microsoft on the login screen
- Milestone sets a short-lived, one-time
sso_noncecookie (HttpOnly, 10 minutes) and redirects to Microsoft's login page with a signedstatethat carries the same nonce - After authentication, Microsoft redirects back to Milestone with an authorization code
- Milestone checks that the
stateis validly signed and that its nonce matches this browser'ssso_noncecookie, then clears the cookie — whatever the outcome - Milestone exchanges the code for tokens and creates/updates the user session
- If the user doesn't exist in Milestone, their account is automatically created (when auto-create users is on)
Because of the nonce check, a sign-in only completes in the browser that started it, a callback link cannot be reused, and a sign-in left open for more than 10 minutes must be restarted. Those cases show "Your sign-in session expired or was started elsewhere. Please try again." on the sign-in page. Browsers or privacy tools that block first-party cookies on the redirect back from Microsoft cause the same message every time.
Client secret storage¶
Client secrets are encrypted at rest (AES-256-GCM) at both scopes:
- Organization SSO — stored in the master database, encrypted with
TENANT_ENCRYPTION_KEY. - Tenant-level SSO (Settings → SSO) — stored in the tenant database's
sso_configtable, encrypted with the same key; in single-tenant mode the key is derived fromSESSION_SECRET. Secrets saved by versions before 1.5.0 were stored in plain text and are encrypted automatically the next time the workspace's database is opened after the upgrade.
The settings screens and GET /api/sso/config/full only ever return the masked form
(**** plus the last four characters). Saving the form with the masked value unchanged keeps
the stored secret; typing a new value replaces it; clearing the field removes it. This holds
on every SSO save route.
Rotating SESSION_SECRET (single-tenant) or TENANT_ENCRYPTION_KEY
The stored secret can only be decrypted with the key it was encrypted with. After
changing SESSION_SECRET on a single-tenant installation (or TENANT_ENCRYPTION_KEY on
a multi-tenant one), the server logs "Could not decrypt the tenant SSO client secret"
once and SSO reports not configured — re-enter the client secret in
Settings → SSO. Changing TENANT_ENCRYPTION_KEY also makes existing tenant database
credentials unreadable, so only do it with a re-encryption plan.
Testing SSO¶
After saving the configuration, verify it end to end: open a tenant's login page and click
Sign in with Microsoft. You should be redirected to Microsoft, and after signing in,
returned to that tenant's workspace. If sign-in fails on the return trip, you are sent back
to that tenant's own sign-in page with the reason shown above the form — start there. The
most common cause is a redirect-URI mismatch — confirm the App Registration, Milestone's
Redirect URI field, and (single-tenant) SSO_REDIRECT_URI all read exactly
https://your-domain.com/api/auth/sso/callback. The server log carries the underlying
Microsoft error for every failure.
Test configuration¶
Test configuration is available for organization SSO and for tenant SSO:
- the organization's SSO Configuration tab in the admin portal tests the saved configuration, so save your changes first;
- Settings → SSO in a workspace tests the values as entered in the form, before they are saved; leave the secret field blank to test the stored secret. It is not available while organization SSO manages the workspace.
The test signs in as the application itself, which checks:
- the Directory (tenant) ID, Application (client) ID and client secret look right and, where a secret was pasted from the wrong column, that it is not the Secret ID;
- the redirect URI is an absolute
https://URL ending in/api/auth/sso/callback(and, for organization SSO, has no/t/{slug}/path); - Microsoft recognises the directory, and accepts the client ID and secret;
- how the server reaches the internet — whether a proxy is configured, and whether any proxy setting is one that sign-in does not use (see below).
What it cannot check is the redirect URI's registration, because signing in as the application never uses one. A green result therefore reads "Microsoft accepted the credentials", not "SSO works", and the last row always asks you to confirm the platform by hand — see the warning below. If the test cannot reach Microsoft at all it says so, rather than blaming the credentials.
Troubleshooting sign-in failures¶
When a sign-in fails, the message above the sign-in form names Microsoft's error code. Look it up here.
Check the platform first: Web, not Single-page application
This is the one failure that looks like a working configuration. Microsoft issues the authorization code normally — the redirect URI is registered — and then refuses to exchange it, because a URI registered under the Single-page application platform can only be redeemed from a browser, never from a server holding a client secret.
One App Registration can hold both platforms, so a workspace-level sign-in using a
/t/{slug}/… URI registered under Web keeps working while the shared organization URI
added under SPA fails. In the Azure portal: App registrations → your app →
Authentication, check which platform card lists
https://your-domain.com/api/auth/sso/callback. Under Manifest, its replyUrlsWithType
entry must read "type": "Web". If it reads "Spa", delete it from the Single-page
application platform and add the same URI under Web.
The secret Value, not the Secret ID
Azure shows a client secret's Value and its Secret ID side by side, and only the Value
works. A secret that looks like a GUID (0a1b2c3d-…) is the Secret ID.
| Code | What it means | What to do |
|---|---|---|
AADSTS9002327, AADSTS9002325 |
The redirect URI is registered as a single-page application | Re-register it under the Web platform (see above) |
AADSTS9002326 |
An Origin header reached a Web-registered URI |
A forward proxy is injecting Origin on the server's outbound requests |
AADSTS7000215 |
The client secret is not valid | Re-enter the secret's Value; check for truncation and trailing whitespace |
AADSTS7000222 |
The client secret has expired | Create a new secret under Certificates & secrets and save its Value |
AADSTS7000218 |
No client secret reached Microsoft | The stored secret is empty or could not be decrypted — re-enter it |
AADSTS50011 |
The redirect URI does not match the registration | Since Microsoft would not have issued a code for an unregistered URI, this usually means the redemption used a different SSO configuration than the sign-in — check the server log, which records the configuration used on both steps |
AADSTS54005, AADSTS70008 |
The sign-in link was already used or expired | Sign in again. If it happens every time, look for a link prefetcher or a retrying proxy in front of the callback URL |
AADSTS700016 |
The client ID is not in that directory | Check the Application (client) ID and Directory (tenant) ID belong to the same App Registration |
AADSTS65001 |
Consent has not been granted | Grant admin consent for User.Read (and GroupMember.Read.All if group access is in use) under API permissions |
AADSTS90002, AADSTS900023 |
The directory could not be found | The Directory (tenant) ID is wrong or malformed — copy it from the App Registration's Overview |
Some messages come from Milestone rather than Microsoft:
-
"Your sign-in session expired or was started elsewhere. Please try again." — the browser-binding check failed: the sign-in took longer than 10 minutes, was finished in a different browser or profile, the callback link was opened twice, or the
sso_noncecookie was blocked (see SSO Login Flow). -
"SSO client secret is not configured" — the configuration in effect has no client secret. Save one; a configuration without a secret can never complete a sign-in.
- "Single sign-on is temporarily unavailable" — the organization's configuration could not
be read, usually a master-database problem or a changed
TENANT_ENCRYPTION_KEY. Milestone deliberately stops here rather than continuing with the workspace's own settings, which would fail against Microsoft with an unrelated-looking error. - "The identity provider did not respond as expected (HTTP …)" — something answered, but
without the
AADSTScode Microsoft always includes. Usually a proxy or gateway intercepting requests tologin.microsoftonline.comfrom the server and returning a block page. A fault at Microsoft looks the same, so check the Outbound network row of the SSO test, and whether the server is allowed to reachlogin.microsoftonline.comdirectly. - "Could not reach the identity provider" — the request never got a reply at all: outbound
access to
login.microsoftonline.comis blocked, or a configured proxy is unreachable.
Compare a working environment against the failing one
When the same version works in one environment and not another, the message tells you which half to look at. The same message in both points at the App Registration, which they share. A message in only one points at that environment — its network, or its own SSO configuration.
What sign-in uses to reach Microsoft¶
Sign-in requests use HTTPS_PROXY / HTTP_PROXY from the environment, or connect directly when
neither is set. They do not use PROXY_PAC_URL, PROXY_CA_CERT, PROXY_USERNAME or
PROXY_PASSWORD — those apply only to the public-holiday import. A deployment that describes its
proxy solely through those settings has not described it to sign-in, and Microsoft will be
unreachable even though holiday import works. The Outbound network row of the SSO test reports
exactly this.
Group-Based Access Control¶
Restrict tenant access to users who belong to specific Microsoft Entra ID (Azure AD) security groups.
How It Works¶
- In the admin portal, edit a tenant
- Under Group Restrictions, add one or more Azure AD Group IDs (GUIDs from your Entra directory)
- Choose the membership mode:
- Any (default) — User must belong to at least one of the listed groups
- All — User must belong to every listed group
- Save the tenant configuration
When a user logs in via SSO, Milestone fetches their group memberships from the Microsoft Graph API and validates them against the tenant's requirements. If the user doesn't meet the group criteria, access is denied.
Grant GroupMember.Read.All first
Reading group memberships requires the GroupMember.Read.All (or Directory.Read.All) Microsoft Graph permission on the App Registration, with admin consent granted. Without it the group lookup fails for every user, and sign-in reports "Could not verify group membership. Contact administrator." Add the permission under API permissions > Add a permission > Microsoft Graph > Delegated permissions, then click Grant admin consent. Leave the group list empty if you don't need group-based restrictions — the lookup is then skipped entirely.
Finding Azure AD Group IDs¶
- Go to Azure Portal > Azure Active Directory > Groups
- Click on the group you want to use
- Copy the Object ID (a GUID like
a1b2c3d4-e5f6-7890-abcd-ef1234567890)
Use Cases¶
- Department isolation — Only R&D department members can access the R&D tenant
- Project-based access — Create an Azure AD group per project team and restrict the tenant accordingly
- Compliance — Ensure only authorized personnel can access sensitive project data
Note
Group-based access control requires SSO to be configured. It has no effect on local (email/password) authentication.
Audit Log¶
The Audit log — Settings → General → Data management → Open audit log — answers the two questions a security review asks of a planning instance: what changed in it, and who signed in and how. Every sign-in, failed attempt and lockout, every administrative change, every export and every project, booking or comment change is one entry, newest first, with the account, the IP address and the origin of the request. Entries cannot be edited or deleted; only the retention setting removes them.

Who can see it¶
The log needs the system.audit_log permission, which only the Admin role holds by default. Holders see an Audit log row under Data management in Settings → General, with the current retention (Kept 365 days, Kept indefinitely) and an Open audit log button; the log then replaces the General form, and Back to General returns to it (unsaved General changes are kept meanwhile). It has no entry of its own in the Settings list. To give a security or compliance officer read access without making them an administrator, create a role that carries system.audit_log under Settings → Roles (see Roles & Permissions) and assign it to them. Superusers do not see the row by default. Without the permission every /api/audit-log route answers 403.
Columns¶
| Column | Description |
|---|---|
| When | Date and time the action happened, in your local time |
| Category | Authentication, Administration, Data access or Changes |
| Action | What happened, for example User updated. The raw key (admin.user.updated) is the cell's tooltip and is shown in the entry detail; see the action catalogue |
| Outcome | Success or Failure |
| Actor | The user who did it, as named when the entry was written, so the entry still names them after the account is deleted. A failed sign-in for an existing account names that account; the Actor is empty only when the e-mail matched no account (or for an entry raised by the platform itself) |
| Account | The account the action was about: the e-mail typed into a failed sign-in, or the user whose password was set |
| Target | The object acted on, as Type · name, for example Site · Basel |
| IP address | The client's address (see Client IP address) |
An empty value shows "—". The Origin (Web for a request from a browser, System for one raised by the platform itself) is shown in the entry detail and the export, not in the table.
Filters¶
The toolbar above the table narrows the list by:
- Search: a case-insensitive match over the actor's e-mail and name, the account's e-mail and the target's name, so one address finds both what that person did and what was attempted against their account.
- Category and Outcome chips.
- Action: pick one action from those recorded so far.
- Actor: pick one person.
- IP address: an exact address.
- From and To: a date range, both days included.
Clear filters resets them all. Any change of filter, and of the Per page size (25, 50, 100 or 200), returns to the first page. Refresh reloads the list.
Reading an entry¶
Click a row (or, from the keyboard, tab to its time and press Enter or Space) to open the Entry detail dialog. It shows when, who, the account, the target, the project when there is one, the IP address, the origin, the browser (user agent) and, for a failure, the reason, written out ("Wrong password (bad_password)"). Under Details:
- Changes: a Field / Before / After table, one row per changed field. A credential is never stored: a password, token or client secret is replaced before the entry is written and shown as Secret value. A very long value shows as "changed (n characters)".
- Context: facts that frame the action without being part of it, such as how many rows an export held or how many sessions a password change ended.
An entry without any of these reads "No further details recorded." The dialog has no actions.

Export CSV¶
Export CSV downloads the entries matching the current filters, newest first, up to 50 000 rows, as audit-log.csv. The columns are id, created_at (UTC), category, action, outcome, actor_user_id, actor_email, actor_name, subject_email, target_type, target_id, target_label, project_id, project_name, ip, user_agent, origin and details (compact JSON). A cell that starts with =, +, -, @, a tab or a carriage return gets a leading ', so a spreadsheet never runs it as a formula. The export is itself recorded, as access.audit_log.exported, before the file is built, so an export of the log always leaves a trace in it.
Action catalogue¶
Action keys are past tense and built as category.entity.verb.
Authentication¶
| Action | Recorded when |
|---|---|
auth.login.succeeded |
A user signs in with e-mail and password |
auth.login.failed |
A password sign-in is refused. The reason says why (below). After 100 failed attempts from one address within 15 minutes, one more entry is written with suppressed: true in its details (at most one such entry every 15 minutes) and further failures from that address are not recorded until fewer than 100 fall within 15 minutes; the sign-in lockout itself is unchanged |
auth.login.locked |
A failure reaches the login throttle limit. Written once, together with that attempt's auth.login.failed; the details carry retry_after and locked_until, and it names the account when it exists. Further refused attempts while locked record nothing |
auth.logout |
A signed-in user signs out |
auth.password.changed |
A user changes their own password; the details carry the number of sessions ended |
auth.sso.succeeded |
A user signs in through Microsoft Entra; the details say whether the account was created by this sign-in |
auth.sso.failed |
An SSO sign-in is refused once the workspace is known. The reason says why |
Reasons on auth.login.failed:
| Reason | Meaning |
|---|---|
unknown_user |
No account has that e-mail address |
bad_password |
The password is wrong |
inactive |
The account is deactivated |
throttled |
The attempt locked the account (auth.login.locked) |
Reasons on auth.sso.failed:
| Reason | Meaning |
|---|---|
config_missing |
SSO is disabled or not fully configured (no client secret, organization lookup failed) |
exchange_failed |
The identity provider refused the token exchange or could not be reached |
graph_failed |
The Microsoft Graph profile or group lookup failed |
group_denied |
The user is not a member of an allowed group |
no_email |
The identity provider returned no e-mail address |
no_account |
No account matches and automatic creation is off |
inactive |
The account is deactivated |
Only our own fixed reason codes are recorded; text from Entra is never stored.
Administration¶
Every update records its Changes (old and new value of the fields that moved) and writes nothing when nothing changed. A setting saved for the first time shows its default as the old value; saving the value it already has (or its default) records nothing.
| Action | Recorded when |
|---|---|
admin.user.created, .updated, .deleted |
A user is created, edited (name, e-mail, job title, role, capacity, resource flag, sites, teams, skills) or deleted. A role change shows the roles' names as they were at that moment. The details note the sessions ended by a role change. The Account column holds the user's e-mail on every admin.user entry |
admin.user.activated, .deactivated |
A user is switched on or off, through the switch in the user list or by changing Active in the user dialog; a deactivation notes the sessions it ended. An edit that also changes other fields records admin.user.updated for those as well |
admin.user.password_set |
An administrator sets a user's password. No password is recorded |
admin.role.created, .updated, .deleted |
A role is created, renamed or deleted |
admin.role.permissions_updated |
A role's permissions are saved; each moved key shows its old and new mode (allow, approval or not granted) |
admin.approval_policy.updated |
Who approves a kind of own booking changes |
admin.settings.updated |
An instance setting is saved, one entry per setting. A value over 200 characters records only that it changed and its length |
admin.sso.updated |
The tenant SSO configuration is saved; the client secret shows as Secret value |
admin.sso.tested |
Test configuration runs. The outcome is whether the credentials worked; the reason names the first failed check by a fixed code (tenant_id, client_id, client_secret, redirect_uri, outbound_network, microsoft_directory, client_credentials, microsoft_sign_in) or rejected |
admin.site.created, .updated, .deleted |
A site is changed |
admin.team.created, .updated, .deleted |
A team is changed, members included |
admin.<entity>.created, .updated, .deleted |
The same three verbs for skills, absence types, equipment (and equipment types), bank holidays (including a calendar import and a refresh), company events (including an import), predefined phases, project fields and tags. The target is the entity and its id when the request path has one; these entries carry no Changes table |
Data access¶
| Action | Recorded when |
|---|---|
access.export.msproject |
A project is exported as MS Project XML; the details carry the task count |
access.export.csv |
A project is exported as CSV; the details carry the row count |
access.export.site |
A site's Excel export is downloaded |
access.audit_log.exported |
The audit log itself is exported to CSV |
Changes¶
Changes to the planning data are recorded from the same event that drives the live update (see Real-Time Collaboration), so what appears here is what other users saw happen. The entity is one of:
| Entity | Actions |
|---|---|
| Project | project.created (also an MS Project import), .updated, .deleted |
| Phase, subphase | phase.*, subphase.*: .created, .updated, .deleted. A Kanban status move is an update |
| Staff booking | staff_assignment.created, .updated, .deleted. Approving, rejecting or withdrawing an own booking publishes the matching change |
| Equipment booking | equipment_assignment.created, .updated, .deleted |
| Comment | card_comment.created, .updated, .deleted |
| Approval request | approval_request.created, .updated |
| Absence, equipment block, staff note, custom column, dashboard | vacation.*, equipment_block.*, note.*, custom_column.*, dashboard.*: .created, .updated, .deleted |
A change entry names the project when it has one. Entries for absences, notes and blocks carry no project, and a create or import under a site has no target id.
What is not recorded¶
- SSO failures that happen before the workspace is known: a bad or missing state, a missing code, an error from Entra. They never reach a tenant, so there is no log to write to.
- Session expiry, and sign-outs without a valid session.
- Read-only requests, other than the exports above.
- The admin portal: its own sessions and actions are outside the tenant log (see Monitoring for the tenant activity kept in the master database).
- A change whose request crashed between the change and its entry. Change entries are written just after the change commits, on their own session, so a crash in that gap loses the entry while the change stays.
Retention¶
Entries are kept for 365 days by default. Change it in Settings → General → Data management → Audit log retention: any whole number of days up to 3 650, or 0 (the "Keep audit entries indefinitely" switch) to keep them forever. Entries past the window are purged when the log is opened or exported, and the setting is re-read each time, so a change applies without a restart. Purging is the only thing that ever deletes an entry. There is no edit or delete action in the interface or the API, for any role.
The JSON audit stream¶
Every entry is also written as one JSON line on the logger milestone.audit, at the moment it is stored, with the same fields as the entry. Secrets are masked exactly as in the table. The application logs to standard output, so the stream reaches whatever already collects your container logs, with no configuration in Milestone:
Shipping the stream to a central log store keeps a copy outside the instance, out of reach of anyone who can administer it. The line is written when the entry is recorded; if the transaction fails afterwards, the line can exist without a row, so the table is the record and the stream is the live feed.
Client IP address¶
The IP address column is request.client.host, as resolved by uvicorn. The container starts uvicorn with --proxy-headers, so behind a reverse proxy the address is the one in X-Forwarded-For, but only when the proxy is listed in FORWARDED_ALLOW_IPS. Otherwise every row shows the proxy's address, and the login lockout applies to everyone at once. The per-address cap on failed sign-in entries and the per-address lock work only when FORWARDED_ALLOW_IPS names the proxy: without it, every client shares the proxy's address, so one client's failed attempts can stop the failed sign-ins of all the others from being recorded. See Trust the proxy's X-Forwarded-For.
Database & Migrations¶
Complete reference
This page covers what an administrator needs to run and upgrade the databases. The complete table-by-table and migration-by-migration reference is Database schema and migrations.
Database Architecture¶
Milestone uses PostgreSQL 15+ with two database tiers:
| Database | Purpose | SQLAlchemy Base |
|---|---|---|
milestone_admin |
Master DB: tenants, admin users, organizations, SSO config | MasterBase |
milestone_<slug> |
Per-tenant: projects, users, staff, equipment, settings | Base |
In single-tenant mode, only the tenant database is used.
Master database name
The master database name is whatever MASTER_DB_NAME is set to. The application's built-in default is milestone_master, but docker-compose.fresh.yml and the devcontainer set it to milestone_admin. Check your environment's MASTER_DB_NAME to know which name your installation uses; the examples in this guide use milestone_admin.
Connection Pools¶
Each worker process keeps one connection pool per database it serves: the default database and, in multi-tenant mode, one per workspace. All of them are sized by the same settings (workspace pools follow them since 2.5.1; before, they were fixed at 20 / 10 / 30):
| Variable | Default | Meaning |
|---|---|---|
DB_POOL_SIZE |
20 |
Connections kept open per pool |
DB_POOL_MAX_OVERFLOW |
10 |
Extra connections a pool may open under load |
DB_POOL_TIMEOUT |
30 |
Seconds a request waits for a connection before it fails |
DB_POOL_RECYCLE |
1800 |
Seconds after which a connection is replaced (0 = never) |
A request uses one connection at a time. Size max_connections in PostgreSQL for
workers × pools × (DB_POOL_SIZE + DB_POOL_MAX_OVERFLOW) plus the admin tools.
A QueuePool limit ... connection timed out line in the log means a request waited
the full DB_POOL_TIMEOUT: see Monitoring.
Schema Management¶
The canonical schema is defined in setup_databases.sql. This file must stay in sync with SQLAlchemy models.
Fresh Install¶
Auto-Initialization¶
When AUTO_INIT_DB=true is set (used by docker-compose.fresh.yml), the entrypoint script runs app.scripts.init_db which:
- Creates the database if it doesn't exist
- Applies the schema
- Seeds default settings and admin user
The master database schema is also auto-applied on startup by master_db.init_db().
If app.scripts.init_db fails, the container exits with its error code instead of
starting the app on a half-initialised schema.
Automatic Tenant Upgrades¶
On top of the SQL files below, every tenant database is brought up to date automatically:
- Multi-tenant: the first time the application opens a tenant's connection pool after
start-up (
tenant_manager._run_auto_migrations). - Single-tenant: at every application start-up (
run_single_tenant_auto_migrations), whether or notAUTO_INIT_DBis set. Before 1.5.0 single-tenant installs only got these upgrades whenAUTO_INIT_DBre-applied the schema.
Every step is idempotent, runs in its own transaction and only logs a warning when it fails, so one failing step never blocks start-up or the other steps. The last steps are not plain DDL:
- Tenant SSO client secret encryption — a plaintext
sso_config.client_secretleft by an earlier version is encrypted in place (this needs the in-process encryption key, so it cannot be a SQL file). -
Data migrations (
app/services/tenant_data_migrations.py,run_data_migrations()):projects.site_idforeign key →ON DELETE CASCADE(deleting a site deletes its projects, at the database level as well as in the application);card_comments.author_id→ nullable,ON DELETE SET NULL(deleting a user keeps their Kanban comments, shown as Deleted user);- removal of orphaned
custom_column_valuesandcard_commentswhose project, phase or subphase no longer exists (these rows have no foreign key; older releases left them behind when projects or sites were deleted); - the roles seed of
add_rbac(1.13.0): the three system roles with their default permissions and one approval policy per own-booking action, thenusers.rolemoves from a CHECK constraint to a foreign key onroles.key; - expiry of approval requests whose phase, subphase or booking is gone, removal of pending bookings whose request is closed, and clearing of stale request pointers on approved bookings;
- the absorption example (2.6.0), once per instance: when the built-in Capacity and
flows dashboard (no owner) exists and has no widget titled Customer absorption this
year, the gauge is appended below its widgets (an edited dashboard gets it too). The
step then records the internal setting
_internal.absorption_example_added, whether or not it added anything, so deleting the gauge or the dashboard afterwards is final. A deleted Capacity and flows is not recreated. The marker is not listed byGET /settingsand cannot be written through the API. Instances without dashboard tables (upgrading from before 2.3.0) get the gauge with the normal one-time dashboard seed instead.
The foreign-key rewrites only run when the current constraint differs, and the cleanup logs how many rows it removed. The same SQL is available as the
projects_site_fk_cascade,card_comments_author_set_nullandcleanup_orphaned_valuesmigrations for running by hand.
Migrations¶
Migrations are raw SQL files in the migrations/ directory (no Alembic).
Running Migrations¶
# Tenant databases (applies to all tenants)
python migrations/run_migration.py <migration_name>
# Master database only
python migrations/run_migration_master.py <migration_name>
# Or use the shell script
bash migrations/run_migration.sh <migration_name>
# Pure-psql loop over all active tenants (no Python); the file argument is required
PG_HOST=... PG_USER=... bash migrations/migrate_all_tenants.sh migrations/<migration_name>.sql
migrate_all_tenants.sh exits with an error (and lists the available files) when no
migration file is given — older versions silently fell back to a built-in
company_events definition of the wrong shape. The legacy helpers
run_migration_all_tenants.sql and generate_tenant_migrations.sql were removed for the
same reason; use run_migration.py instead.
Available Migrations¶
| Migration | Target | Description |
|---|---|---|
add_organizations |
Master | Organization and SSO tables |
add_skills_tables |
Tenant | Skills management |
add_custom_columns |
Tenant | Custom column support |
add_company_events |
Tenant | Company events on timeline |
add_company_event_color |
Tenant | Color column for company events |
add_equipment_blocks |
Tenant | Equipment maintenance blocks |
add_tags_tables |
Tenant | Project tags |
add_tag_groups_and_sites |
Tenant | Tag groups, per-site tags (tag_sites) and the group_id / all_sites / sort_order tag columns (the groups are converted into project fields by add_project_fields since 2.0.0; the automatic upgrade no longer creates tag_groups) |
add_project_presence |
Tenant | Real-time presence tracking |
add_is_system_column |
Tenant | System column flag |
add_staff_notes |
Tenant | Staff notes table (migrates and drops the legacy notes table) |
add_kanban_tables |
Tenant | Kanban board: status column on project_phases/project_subphases (backfilled from completion), plus the card_comments and notifications tables |
add_absence_types_and_event_sites |
Tenant | Absence types and multi-site company events (1.5.0) — see below |
add_equipment_sites_and_site_closures |
Tenant | Multi-site equipment (equipment_sites) and site-closure events (company_events.counts_as_unavailable) (1.5.0) — see below |
projects_site_fk_cascade |
Tenant | projects.site_id FK → ON DELETE CASCADE (1.5.0, also automatic) |
card_comments_author_set_null |
Tenant | card_comments.author_id nullable, FK ON DELETE SET NULL (1.5.0, also automatic) |
cleanup_orphaned_values |
Tenant | Delete orphaned custom-column values and card comments (1.5.0, also automatic) |
add_teams |
Tenant | Teams per site, team membership and team scoping of projects, tags, equipment and company events (1.12.0, also applied automatically on startup) |
add_rbac |
Tenant | Roles and permissions, approval policies and requests for own bookings (1.13.0, also applied automatically on startup) — see below |
add_change_notifications |
Tenant | Widens the notification types with assignment_changed and project_changed (1.15.0, also applied automatically on startup) — see below |
add_user_is_resource |
Tenant | Adds users.is_resource, the "Bookable as a resource" flag (1.16.0, also applied automatically on startup) — see below |
add_booking_segments |
Tenant | Adds optional own dates to phase and subphase bookings (1.17.0, also applied automatically on startup) — see below |
add_project_fields |
Tenant | Project fields and their values; converts the tag groups into dropdown fields and drops tag_groups and tags.group_id (2.0.0, also applied automatically on startup; requires add_teams) — see below |
add_project_comments |
Tenant | Lets a project carry its own comment thread: the card_comments entity-type CHECK gains project (2.0.0, also applied automatically on startup) — see below |
add_project_field_decimals |
Tenant | Adds project_fields.decimals, the decimals of a number project field (2.1.0, also applied automatically on startup) — see below |
add_equipment_assignment_note |
Tenant | Adds equipment_assignments.note, the optional note of an equipment booking (2.0.0, also applied automatically on startup) — see below |
add_dashboard_sharing |
Tenant | Dashboard sharing by site, team and person: dashboard_sites, dashboard_teams and dashboard_users, and the visibility value roles renamed shared (2.3.0, also applied automatically on startup; requires add_dashboards and add_teams) — see below |
add_dashboard_widget_kinds |
Tenant | The widget kinds gauge, heatmap, treemap and sankey added to dashboard_widgets_kind_check — only for databases created from a pre-release 2.3.0 build (2.3.0, also applied automatically on startup; requires add_dashboards) — see below |
add_dashboards |
Tenant | Dashboards: dashboards, dashboard_roles and dashboard_widgets (2.3.0, also applied automatically on startup, which also creates the Overview and Capacity and flows dashboards and grants the two dashboard permissions; requires add_rbac) — see below, and let the application upgrade the tenant rather than running it first |
add_audit_log |
Tenant | The audit log: audit_log, one row per sign-in, failed attempt, admin change, export or content change (2.4.0, also applied automatically on startup; requires users) — see below |
upgrade_to_v90 |
Tenant | Major version upgrade |
Absence Types and Multi-Site Events (1.5.0)¶
add_absence_types_and_event_sites is idempotent. The same steps also run automatically (see Automatic Tenant Upgrades) — in multi-tenant mode the first time the application connects to each tenant database after the upgrade, in single-tenant mode at start-up — so running it by hand is optional. It:
- Creates the
absence_typestable and, when the table is empty, seeds the default types: Holidays, Home Office (does not count as unavailable), Illness, Business Trip and Training - Adds
vacations.absence_type_id(nullable,ON DELETE SET NULL) and files every existing absence under Holidays — this backfill runs only together with the column creation, so a re-run never re-files absences - Creates the
company_event_sitesjunction table (if missing) and links every event that has no site link yet to itssite_id, so every existing event keeps its site — this step runs on every execution, even when the table already exists, and never touches events that already have links - Makes
company_events.site_idnullable and re-points its foreign key toON DELETE SET NULL. The column is now legacy: the application keeps it set to the event's first linked site for compatibility, but reads site links fromcompany_event_sites
With AUTO_INIT_DB=true, the container's start-up schema run also brings an older database up to date idempotently (it adds absence_types, vacations.absence_type_id, company_event_sites with its back-fill, and the site_id changes) — but it does not file existing absences under Holidays. If that schema run reached a single-tenant database before the migration, existing absences stay without a type (they still count as unavailable); the migration's one-time filing only runs when it adds the column itself. To file them under Holidays, run once: UPDATE vacations SET absence_type_id = (SELECT id FROM absence_types WHERE name = 'Holidays') WHERE absence_type_id IS NULL;
Multi-Site Equipment and Site Closures (1.5.0)¶
add_equipment_sites_and_site_closures is idempotent and, like the migration above, also runs automatically (per tenant on first connection in multi-tenant mode, at start-up in single-tenant mode); setup_databases.sql and the tenant provisioner create the same schema for fresh installs. It:
- Creates the
equipment_sitesjunction table —(equipment_id, site_id)composite primary key, both foreign keysON DELETE CASCADE, indexidx_equipment_sites_site— so one piece of equipment can belong to several sites - Links every piece of equipment that has no site link yet to its
equipment.site_id, so existing equipment keeps its site. This step runs on every execution and never touches equipment that already has links.equipment.site_idstays as a legacy "primary site" column, kept equal to the lowest linked site id - Adds
company_events.counts_as_unavailable BOOLEAN NOT NULL DEFAULT FALSE.truemarks the event as a site closure: staff on the event's sites are unavailable for its dates. Existing events stay plain events
After the upgrade, deleting a site only deletes equipment that is left without any site; equipment shared with another site is kept.
Teams (1.12.0)¶
add_teams is idempotent and, like the migrations above, also runs automatically (see Automatic Tenant Upgrades); setup_databases.sql and the tenant provisioner create the same schema for fresh installs. It creates:
teams— a named group of people at one site (site_id, name unique per site, description, colour,active)team_members— which users belong to a team; a member must also belong to the team's siteproject_teams,tag_teams,company_event_teamsandequipment_teams— the links that scope projects, tags, company events and equipment to teams. For tags, events and equipment the rule is per site: a site with none of the item's teams keeps the whole site
Every foreign key is ON DELETE CASCADE: deleting a site removes its teams, and deleting a team removes its memberships and links. Existing data is not touched — every project, tag, event and piece of equipment stays whole-site until someone assigns teams in Settings → Teams.
Roles and Approvals (1.13.0)¶
add_rbac is idempotent and also runs automatically (see Automatic Tenant Upgrades); setup_databases.sql and the tenant provisioner create the same schema for fresh installs. It:
- Creates
roles(key, name, description,is_system, sort order) androle_permissions(one row per permission a role holds, modealloworapproval; no row means deny). The three system roles — Administrator, Superuser and User — are seeded with their default permissions, which reproduce what each role could do before 1.13.0. The defaults are written only when the role row is created, so permissions an admin has edited are never re-seeded - Creates
approval_policiesandapproval_policy_roles(who approves each own-booking action; seeded with "the project's manager approves" for all three) andapproval_requests(one row per request, with its status and outcome) - Adds
approval_statusandapproval_request_idto the three staff assignment tables; every existing booking isapproved - Widens the notification types with
approval_requestedandapproval_decided, and drops the default-role CHECK of the tenant SSO configuration (a custom role can be the SSO default) - Replaces the
users.roleCHECK constraint with a foreign key toroles.key(ON UPDATE CASCADE,ON DELETE RESTRICT). A user whose role is not a known role key is reset touserfirst
Nobody's access changes on upgrade: existing admins, superusers and users keep the same rights through the seeded defaults, except that superusers now manage only the data of the sites they belong to (see Roles & permissions).
Change Notifications (1.15.0)¶
add_change_notifications widens the CHECK constraint on notifications.type with assignment_changed (someone else changed your booking) and project_changed (someone else changed a project you manage). It replaces the constraint only when project_changed is missing, so a second run changes nothing. The same step runs automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades) — including on tenants already upgraded to 1.13 or 1.14 — so running it by hand is optional. No data changes, and the new instance settings of 1.15.0 need no migration: a setting without a stored value reads as its default.
Read notifications are not kept forever: since 2.1.0 a notification read more than 30 days ago is deleted when its owner's inbox is loaded, and users can delete one or all of theirs from the bell. This needs no migration and no scheduled job; an inbox nobody opens keeps its old rows.
Bookable Users (1.16.0)¶
add_user_is_resource adds users.is_resource (BOOLEAN NOT NULL DEFAULT TRUE), the Bookable as a resource flag: only bookable people are listed in the Staff view and panel and can receive new bookings (see Settings → Users). When it adds the column it back-fills existing administrators as not bookable and leaves everyone else bookable, so the upgrade changes nobody's bookability. It does nothing when the column already exists, so a second run never resets a choice made since. The same step runs automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades), so running it by hand is optional.
Booking Segments (1.17.0)¶
add_booking_segments adds start_date and end_date (DATE, nullable) to phase_staff_assignments and subphase_staff_assignments, with a CHECK (<table>_segment_dates_check) that both are empty or both set. Both empty is a linked booking that follows its phase or subphase — every existing booking stays that way, so the upgrade changes nobody's plan. Both set is an unlinked booking with its own dates inside the phase (see Bookings on Phases and Subphases). Each column and the CHECK are added only when missing. The same statements run automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades), so running it by hand is optional.
Project Fields (2.0.0)¶
add_project_fields creates the project-field tables — project_fields (name unique, field_type one of text / number / toggle / select / multiselect, sort_order), project_field_options (the dropdown items: name unique per field, colour, all_sites, sort_order), project_field_option_sites and project_field_option_teams (the items' site and team limits, shaped like tag_sites / tag_teams), project_field_values (one row per project and text, number or switch field) and project_field_selections (the items chosen per project, shaped like project_tags); every foreign key cascades. It needs the teams table (add_teams).
Then, only while tag_groups exists, one DO block converts the tag groups:
- each group becomes a field —
selectfor a single-select group,multiselectotherwise — with the group's order; a name already used by a field gets(tags)appended (then(tags 2), …); - each grouped tag becomes an item of that field with its name, colour,
all_sitesand order, and itstag_sites/tag_teamsrows become the item's site and team limits; - every project carrying such a tag gets the item as a selection;
- the grouped tags are deleted (with their project, site and team links), the remaining tags are renumbered
0..n-1by their order and name, andidx_tags_group,tags.group_idandtag_groupsare dropped.
Ungrouped tags stay tags. This is a breaking change (hence 2.0.0): the /api/tag-groups routes are gone. Take a backup first; the conversion cannot be undone by a later migration. The same statements run automatically when a tenant's connection pool is created and a project-field table is missing or tag_groups still exists (see Automatic Tenant Upgrades), so running it by hand is optional, and a second run does nothing.
Project Comment Threads (2.0.0)¶
add_project_comments widens the CHECK constraint on card_comments.entity_type (card_comments_entity_type_check) from phase / subphase to phase / subphase / project, so a project can carry its own comment thread — the thread shown in the dialog of its project-level bookings (see Comments on a Booking). A project thread's comments have entity_type = 'project' and entity_id = the project's id, and are deleted with the project through the project_id foreign key. It replaces the constraint only when project is missing, so a second run changes nothing. The same step runs automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades), so running it by hand is optional.
Number Field Decimals (2.1.0)¶
add_project_field_decimals adds project_fields.decimals (SMALLINT, nullable, 0–3): how many decimals a number project field keeps. Existing fields get no value, so their numbers stay as typed until an administrator picks a number of decimals in Settings → Project fields; values already stored are never rewritten (the app and the site export show them rounded). The column is added only when it is missing, so a second run changes nothing. The same step runs automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades), so running it by hand is optional.
Equipment Booking Notes (2.0.0)¶
add_equipment_assignment_note adds equipment_assignments.note (TEXT, nullable): the optional note written when equipment is booked or a booking is edited, shown in the equipment booking dialog, in the project manager's notification of a new booking and in the site export's Equipment assignments sheet. Existing bookings have no note. The column is added only when it is missing, so a second run changes nothing. The same step runs automatically every time a tenant's connection pool is created (see Automatic Tenant Upgrades), so running it by hand is optional.
Dashboards (2.3.0)¶
add_dashboards creates the three dashboard tables:
| Table | Holds |
|---|---|
dashboards |
Name, description, owner (owner_id, set to NULL when the owner is deleted — their private dashboards are deleted with them), visibility private / shared / everyone (CHECK dashboards_visibility_check) and is_default (at most one default: partial unique index dashboards_one_default) |
dashboard_roles |
The roles a dashboard is shared with (both foreign keys cascade: deleting a role or a dashboard removes the link) |
dashboard_widgets |
One row per widget: kind kpi / bar / line / pie / table / gauge / heatmap / treemap / sankey (CHECK dashboard_widgets_kind_check), title, the metric query, display options and grid layout as JSON text, order; deleted with their dashboard |
Dashboards are instance-wide (no site column), so the site export has no dashboards sheet. The file also grants the tables and their sequences to the tenant's database user. The same statements run automatically when a tenant's connection pool is created (single-tenant: at start-up) and a dashboard table is missing (see Automatic Tenant Upgrades); in that same run, and only then, the application:
- creates the two built-in dashboards, shared with everyone: the default Overview and Capacity and flows;
- allows Dashboards (
views.dashboards) for the Superuser and User roles and Manage dashboards (dashboards.manage) for the Superuser role, unless an administrator already set those permissions.
A later start never repeats this, so a built-in dashboard an administrator deleted, or a permission they removed, stays that way. Custom roles get neither permission: allow them in Settings → Roles where wanted. Newly provisioned tenants and fresh installs (AUTO_INIT_DB) get both dashboards and the default permissions from their own seed, in the run that creates the tables.
The rule is the same for every tenant: the dashboards are seeded once, by the run that creates the dashboard tables, and never afterwards. A tenant whose tables already exist — for example one upgraded with a pre-release 2.3.0 build — keeps the dashboards it has and does not get Capacity and flows; an administrator can build it by hand (a heatmap, a treemap and a sankey of booked weeks). Capacity and flows is inserted only while no dashboard bears that name.
Run it by hand only after the application
Running add_dashboards by hand before 2.3.0 first starts on a tenant creates the tables, so the automatic upgrade finds them and adds neither the two built-in dashboards nor the two permissions. Let the application upgrade the tenant; running the file afterwards changes nothing. If it already happened, an administrator can allow the permissions in Settings → Roles and build a dashboard by hand.
A database created by hand from setup_databases.sql or scripts/sql/tenant_schema_template.sql gets the tables and the default permissions, but no dashboard: the automatic upgrade finds the tables and seeds nothing. An administrator builds the first dashboard in the app.
Pre-release databases
Personal tasks (My Todos) were removed before 2.0.0 shipped, so add_rbac no longer creates a todos table and no migration names a todo_assigned notification type. A database upgraded from a pre-release 2.0.0 build keeps its unused todos table and the wider notification CHECK; nothing writes either any more.
Sharing by Site, Team and Person¶
add_dashboard_sharing adds the three other kinds of target a shared dashboard can have, beside its roles. A shared dashboard opens for anyone matching one of them:
| Table | Holds |
|---|---|
dashboard_sites |
The sites a dashboard is shared with — it opens for the site's members (user_sites); seeing every site is not membership |
dashboard_teams |
The teams a dashboard is shared with — it opens for the team's members |
dashboard_users |
The people a dashboard is shared with by name |
Each link has the pair as its primary key, an index on the target column, and foreign keys that cascade both ways: deleting a dashboard, or the site, team or user it names, removes the link. The file also grants the three tables to the tenant's database user. Nothing is seeded.
The file also holds a self-gated block for databases created from a pre-release 2.3.0 build (whose visibility CHECK still says roles): while dashboards_visibility_check does not allow shared, it drops the constraint, turns every roles row into shared, and adds the constraint back as private / shared / everyone. On any other database it does nothing.
The same statements run automatically when a tenant's connection pool is created (single-tenant: at start-up), in their own step right after the dashboards step: the tables when one is missing, the visibility block every time (it gates itself). Because it is a separate step, it never re-runs the dashboards step's one-time dashboard seed. Running the file by hand is optional and changes nothing on an upgraded tenant.
Widget Kinds¶
add_dashboard_widget_kinds holds one self-gated block for databases created from a pre-release 2.3.0 build, whose dashboard_widgets_kind_check allows only kpi / bar / line / pie / table: while the constraint does not allow sankey, it drops it and adds it back with the nine kinds (gauge, heatmap, treemap and sankey added). No row changes. On any other database — and on every fresh install, whose schema has the nine kinds from the start — it does nothing.
The application runs the same block automatically on every tenant pool creation (single-tenant: at start-up), in its own step right after the visibility block. If that step fails (typically: the pool's database user does not own dashboard_widgets), the log shows an error naming this file, and saving a gauge, heatmap, treemap or sankey widget fails until it is applied:
Audit Log (2.4.0)¶
add_audit_log creates audit_log, the tenant's audit trail: one row per sign-in, failed sign-in and sign-out, per change to a user, role, approval policy, setting, site or team, per export, and per project, booking or other content change. Each row keeps who acted (a snapshot of their e-mail and name, so the row still names them after the account is deleted), the account acted upon, the target, the project, the client's IP address and browser, and its details as JSON text — credentials are always masked. Rows are never edited; only the retention setting removes them. The table has an index on each column the log is filtered by and is granted to the tenant's database user. Nothing is seeded.
The same statements run automatically when a tenant's connection pool is created (single-tenant: at start-up), in their own step: the table and its indexes when the table is missing, nothing otherwise. Running the file by hand is optional and changes nothing on an upgraded tenant.
Writing New Migrations¶
- Create a SQL file in
migrations/(e.g.,add_feature_x.sql) -
Use idempotent SQL (check before creating):
-
Run the migration:
python migrations/run_migration.py add_feature_x - Update
setup_databases.sqlto include the new schema
Both migration runners handle DO $$ ... END $$; blocks correctly — run_migration_master.py splits statements with a parser that preserves dollar-quoted blocks.
Backup & Recovery¶
See Backup & Recovery for detailed backup procedures.
Connection Settings¶
| Variable | Default | Description |
|---|---|---|
DB_HOST |
localhost |
Database host |
DB_PORT |
5432 |
Database port |
DB_NAME |
milestone_dev |
Database name |
DB_USER |
milestone_dev_user |
Database user |
DB_PASSWORD |
— | Database password |
DB_SSL |
false |
Enable SSL connections |
DB_POOL_SIZE |
20 |
Connection pool size |
DB_POOL_MAX_OVERFLOW |
10 |
Max overflow connections |
DB_POOL_TIMEOUT |
30 |
Pool checkout timeout (seconds) |
Backup & Recovery¶
Backup Strategy¶
Single-Tenant¶
Back up the single database:
# Full backup
pg_dump -U milestone -d milestone -Fc -f milestone_$(date +%Y%m%d).dump
# Schema only
pg_dump -U milestone -d milestone --schema-only -f milestone_schema.sql
Multi-Tenant¶
Back up the master database and all tenant databases:
#!/bin/bash
BACKUP_DIR="/backups/milestone/$(date +%Y%m%d)"
mkdir -p "$BACKUP_DIR"
# Master database
pg_dump -U postgres -d milestone_admin -Fc -f "$BACKUP_DIR/master.dump"
# All tenant databases
psql -U postgres -d milestone_admin -t -c \
"SELECT database_name FROM tenants WHERE status = 'active'" | \
while read db; do
db=$(echo "$db" | xargs) # trim whitespace
[ -z "$db" ] && continue
pg_dump -U postgres -d "$db" -Fc -f "$BACKUP_DIR/${db}.dump"
done
echo "Backup complete: $BACKUP_DIR"
Automated Backups¶
Set up a cron job for regular backups:
Recovery¶
Restore a Single Database¶
# Drop and recreate
dropdb -U postgres milestone
createdb -U postgres -O milestone milestone
# Restore
pg_restore -U postgres -d milestone milestone_20260401.dump
Restore a Tenant Database¶
# Drop and recreate the tenant DB
dropdb -U postgres milestone_acme
createdb -U postgres milestone_acme
# Restore
pg_restore -U postgres -d milestone_acme milestone_acme.dump
# Re-grant permissions to the tenant user
psql -U postgres -d milestone_acme -c "GRANT ALL ON ALL TABLES IN SCHEMA public TO milestone_acme;"
psql -U postgres -d milestone_acme -c "GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO milestone_acme;"
Disaster Recovery (Full Restore)¶
- Restore the master database first
- Restore each tenant database
- Verify tenant connections from the admin portal using "Test Connection"
File Backups¶
All application data lives in PostgreSQL — there are no user-uploaded files stored on disk, so database backups cover everything. Back up your .env file (or however you manage the environment variables) separately: it holds SESSION_SECRET and TENANT_ENCRYPTION_KEY, and the encrypted tenant credentials and SSO client secrets cannot be decrypted without the original TENANT_ENCRYPTION_KEY — or, on a single-tenant installation, the original SESSION_SECRET, from which the key for the stored SSO client secret is derived. Restoring with a different value means re-entering the SSO client secret in Settings → SSO.
Testing Backups¶
Regularly verify backups by restoring to a test environment:
Monitoring & Troubleshooting¶
Health Check¶
Milestone exposes a health endpoint:
The Docker container includes a built-in health check that polls this endpoint every 30 seconds.
The response carries status, mode, version, backend, default_tenant, timestamp
and database. database is connected or, when the probe query fails, just error — the
endpoint is public, so the underlying driver error (host, port, user) is written to the
server log only. Look there for the cause.
Logging¶
View Application Logs¶
# Docker Compose
docker compose logs -f milestone
# Single container
docker logs -f milestone
# Last 100 lines
docker logs --tail 100 milestone
Log Levels¶
There is no LOG_LEVEL environment variable. Setting DEBUG=true enables debug-level behaviour (never use it in production); otherwise the application logs at uvicorn's default level.
Common Issues¶
Frontend changes not appearing¶
- Verify the frontend was built:
npm run build(infrontend/) - Verify it was deployed:
./deploy-react.sh - Hard refresh the browser:
Ctrl+Shift+R - Check files exist in
public/andpublic/assets/
API errors¶
# Check backend logs
docker logs milestone
# Test API endpoint
curl http://localhost:8485/health
# View API docs
open http://localhost:8485/api/docs
Container won't start¶
If the log ends with "SESSION_SECRET is empty or a published default. Refusing to start with
DEBUG=false", set SESSION_SECRET in .env to a fresh random value
(python -c "import secrets; print(secrets.token_hex(32))") and start again. With
docker-compose.fresh.yml, a missing value stops docker compose itself with
"Set SESSION_SECRET in .env". In single-tenant mode, changing SESSION_SECRET later means
re-entering the SSO client secret (see
Organization & SSO).
If the database initialisation (AUTO_INIT_DB=true) fails, the container now exits instead
of serving a half-initialised schema — fix the database error shown in the log and restart.
# Check logs for errors
docker compose logs
# Rebuild from scratch
docker compose down
docker compose up -d --build
Database connection issues¶
# Test connection from container
docker exec milestone python -c "from app.database import engine; print(engine.url)"
# Check environment variables
docker exec milestone env | grep DB
# Test PostgreSQL directly
psql -U milestone -h localhost -d milestone -c "SELECT 1;"
"QueuePool limit ... connection timed out" in the log¶
sqlalchemy.exc.TimeoutError: QueuePool limit of size 20 overflow 10 reached,
connection timed out, timeout 30.00
A request waited DB_POOL_TIMEOUT seconds for a database connection and failed
(users see Internal server error, projects missing on first load, saves that take
about 30 seconds). Each worker process keeps a pool of DB_POOL_SIZE connections
plus up to DB_POOL_MAX_OVERFLOW extra ones, per database: the default one and, in
multi-tenant mode, each workspace's (the same settings apply to every workspace pool
since 2.5.1).
- Before 2.5.1 this came from a defect, not from the pool size: every signed-in read held two connections at once, and the app loaded each project with a request of its own, so a few browsers reloading together deadlocked the pool. Upgrade to 2.5.1 or later (one connection per request, all projects in one request) — raising the pool size only moves the threshold.
- From 2.5.1 on it means more simultaneous work than the pool holds. Raise
DB_POOL_SIZE/DB_POOL_MAX_OVERFLOW(each worker × each pool counts against PostgreSQL'smax_connections), or add workers / CPU when the requests themselves are slow.DB_POOL_TIMEOUTonly sets how long a request waits before failing. - "Audit row ... could not be written" or "Change notifications failed" next to it means the change was saved but its audit row or notification was lost.
DB_POOL_RECYCLE (default 1800 seconds) replaces connections before a firewall or
proxy drops them while idle; every pool also tests a connection before handing it
out, so a connection closed on the server side no longer fails the request that
drew it.
Tenant not accessible¶
- Verify the tenant exists and is active in the admin portal (status changes apply at once on the process that made them, within 60 seconds on others)
- Test the database connection from the admin portal — a workspace that answers "Could not connect to the organization database" or "Organization database is unavailable" (503) has a pool problem; the cause is in the server log
- Check that the URL matches the slug:
/t/{slug}/ - Check backend logs for connection errors
SSO login fails¶
- Verify Azure AD App Registration settings (client ID, tenant ID, secret)
- Check the redirect URI matches exactly
- Use the "Test Connection" button in SSO configuration
- Check browser developer tools for OAuth errors
- Verify the client secret hasn't expired
- "Your sign-in session expired or was started elsewhere" means the browser-binding
cookie (
sso_nonce) did not match — see SSO Login Flow
"Too many failed sign-in attempts"¶
Workspace and admin-portal sign-in refuse further attempts (HTTP 429, with a Retry-After
header) after 10 failures for the same e-mail from the same IP address within 15 minutes, and
for every e-mail after 100 failures from the same public IP address. Wait for the window to
pass, or restart the application to clear the in-memory counters. Behind a reverse proxy every
user appears to come from the proxy's address unless FORWARDED_ALLOW_IPS lists it (see
Installation → Reverse Proxy);
until then a user locked out this way is locked out from every computer.
WebSocket disconnections¶
WebSocket connections require proper proxy configuration:
- nginx: Set
proxy_http_version 1.1andConnection "upgrade"headers - Cloudflare: Enable WebSockets in the dashboard
- Load balancers: Enable sticky sessions or WebSocket support
- Connections closed immediately with code 4003 usually mean the
Origincheck failed: the proxy rewroteHostwithout settingX-Forwarded-Host, or the app is opened from an origin not listed inCORS_ORIGINS. (4003 is also used for a disabled user.) - Users see an Offline badge in the header while live updates are disconnected; the client reconnects by itself when the network returns or the tab becomes visible again
System Statistics (Multi-Tenant)¶
In multi-tenant mode, the admin portal includes a System Statistics panel showing platform-wide metrics:
| Metric | Description |
|---|---|
| Total Tenants | Count of all tenants by status (active, suspended, pending, archived) |
| Active Connection Pools | Number of database connection pools currently maintained by TenantManager |
| Total Connections | Sum of active database connections across all tenant pools |
| System Uptime | Time since the application process started |
| Memory Usage | Current memory consumption of the FastAPI process |
| Python Version | Runtime version for troubleshooting |
Access this panel from the admin portal at /admin/ — it appears on the main dashboard alongside the tenant list.
Tenant Audit Logging¶
Every administrative action on tenants is logged for accountability and compliance:
| Action | What's Logged |
|---|---|
| Tenant created | Tenant name, slug, who created it |
| Tenant provisioned | Database creation result, admin who triggered it |
| Tenant updated | Changed fields (name, slug, status), who made the change |
| Tenant suspended | Who suspended it and when |
| Tenant deleted | Who deleted it and when |
| Password reset | Who initiated the reset |
Viewing Audit Logs¶
- In the admin portal, open a tenant's details
- The Recent Activity section shows the most recent entries
- Each entry includes: timestamp, action type, actor (admin email), and details

Audit logs are stored in the master database and persist even if a tenant is deleted.
Tip
Audit logs can also be retrieved via the API: GET /api/admin/tenants/{tenant_id}/audit
Performance¶
Database Optimization¶
# Check slow queries (PostgreSQL)
psql -U postgres -c "SELECT query, mean_exec_time, calls FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;"
# Analyze tables
psql -U milestone -d milestone -c "ANALYZE;"
# Check table sizes
psql -U milestone -d milestone -c "SELECT relname, pg_size_pretty(pg_total_relation_size(relid)) FROM pg_catalog.pg_statio_user_tables ORDER BY pg_total_relation_size(relid) DESC;"
Resource Limits¶
The Docker Compose configurations set resource limits:
- Memory: 1 GB limit, 256 MB reservation (app container,
docker-compose.yml) - PostgreSQL: 512 MB limit, 128 MB reservation (
docker-compose.fresh.ymlonly)
Adjust under deploy.resources in the compose file you deploy with, if needed.
Deployment Checklist¶
Before deploying to production:
- [ ] Set
SESSION_SECRETto a cryptographically random value (required — the server refuses to start withDEBUG=falseon an empty or example value) - [ ] Set
TENANT_ENCRYPTION_KEY(if multi-tenant) - [ ] Set
SECURE_COOKIES=true(when serving over HTTPS) - [ ] Set
DEBUG=false - [ ] Configure proper database credentials
- [ ] Set up SSL/TLS via reverse proxy
- [ ] Configure automated database backups
- [ ] Set up log aggregation / monitoring
- [ ] Test health check endpoint
- [ ] Verify WebSocket connections work through the proxy
Hosting the Documentation¶
Help in Milestone's user menu opens this manual — by default the home page of the public copy at https://docs-milestone.verdet.me/. If your users cannot reach the internet, or you want the manual inside your own network, build it from Milestone's repository, host the result yourself (or publish its PDF on a file share), and point Milestone at it.
The manual is a static site: once built, it is a folder of plain HTML, CSS, JavaScript and image files, with no server-side code and no database. Any web server can serve it.
1. Build the manual¶
You need Python 3 and a checkout of the Milestone repository (the version you run, so the manual matches it).
The result is the site/ folder at the repository root. --strict stops on a broken link or image instead of publishing a page with holes. docs/build.sh runs exactly these two commands; it is what builds the public manual.
site_url in mkdocs.yml
site_url is set to the public address. Changing it to your own address is optional — the pages link to each other with relative paths and work at any address. Set it if you want the canonical links and the sitemap to name your host, e.g. site_url: https://intranet.example.com/milestone-docs/.
2. Serve the site/ folder¶
Copy the contents of site/ to any static host. A few ways on Azure follow; any other static host works the same way.
Azure Static Web Apps¶
Azure Static Web Apps is Azure's service for static sites. Create a Static Web App in the Azure portal (the Free plan is enough for a public manual; see Keeping it internal for the Standard plan), then deploy with either of the two methods below. Both use the app's deployment token: in the Azure portal, open the Static Web App, Overview → Manage deployment token, or with the Azure CLI:
Never commit the token to a repository.
From GitHub Actions¶
In your own fork or internal copy of the repository (not Milestone's repository itself, whose manual is published elsewhere), store the token as the repository secret AZURE_STATIC_WEB_APPS_API_TOKEN and add a workflow such as .github/workflows/docs-azure.yml. It builds the manual with Python, then hands the prebuilt site/ folder to the Static Web Apps deploy action, telling it not to build anything itself:
name: Manual to Azure Static Web Apps
on:
push:
branches: [main]
paths: ["docs/**", "mkdocs.yml", "CHANGELOG.md"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build the manual
run: |
pip install -r docs/requirements.txt
mkdocs build --strict
- name: Deploy site/
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
action: "upload"
app_location: "site" # the prebuilt files
output_location: "" # empty with skip_app_build
skip_app_build: true
api_location: "" # no API
CHANGELOG.md is in this workflow's trigger paths because the site's Release Notes page includes it. (Milestone's own Manual PDF workflow does not watch it: the PDF leaves the Developer Guide, and its Release Notes, out.)
With the Static Web Apps CLI¶
To deploy from a workstation or another CI system, install the CLI (it needs Node.js; Microsoft's install page lists the supported versions) and deploy the built folder to the production environment:
npm install -g @azure/static-web-apps-cli
swa deploy ./site --deployment-token <TOKEN> --env production
Instead of --deployment-token you can set the token in the SWA_CLI_DEPLOYMENT_TOKEN environment variable. Without --env production the CLI deploys to a preview environment.
Azure Storage static website¶
The simplest option on Azure, if you already have a storage account (general-purpose v2): its static website feature serves the files of a container named $web. Enable it, upload site/ and read the address:
az storage blob service-properties update --account-name <STORAGE_ACCOUNT> \
--static-website --index-document index.html --404-document 404.html
az storage blob upload-batch -s ./site -d '$web' --account-name <STORAGE_ACCOUNT>
az storage account show -n <STORAGE_ACCOUNT> -g <RESOURCE_GROUP> \
--query "primaryEndpoints.web" --output tsv
Keep $web in single quotes, so the shell does not read it as a variable. The manual ships its own 404.html. The storage static website has no sign-in of its own; see below.
Keeping it internal¶
-
Static Web Apps, signing in with Microsoft Entra ID: a
staticwebapp.config.jsonfile at the root of the deployed folder (copy it intosite/after the build, before deploying) can require sign-in for every page:{ "routes": [ { "route": "/*", "allowedRoles": ["authenticated"] } ], "responseOverrides": { "401": { "statusCode": 302, "redirect": "/.auth/login/aad" } } }The pre-configured Microsoft Entra ID provider lets any Microsoft account sign in. To admit only your organisation's tenant, register a custom Microsoft Entra ID provider in the
authsection of the same file — custom authentication needs the Standard plan. - Static Web Apps, private network only: a private endpoint makes the app reachable only from your Azure virtual network (and the networks connected to it); it needs the Standard plan. The Standard plan'snetworking.allowedIpRangessetting can also limit access to your office address ranges. - Storage static website: it has no sign-in. Keep the storage account behind your private network (private endpoint, firewall rules), or put a gateway that authenticates users in front of it, or use Static Web Apps instead.
Any other static host¶
Because the build output is plain files, any web server inside your network works: copy the contents of site/ to an nginx or Apache document root, an IIS site, an internal file share served over HTTP, or an object store with static-site hosting. Serve index.html as the folder index, and 404.html for missing pages if the server allows it.
Printing and PDF¶
Every build has a print page, print_page/ under the manual's home page (https://intranet.example.com/milestone-docs/print_page/): the User Guide and the Admin Guide on one page, with a cover naming the version and a table of contents, ready for the browser's Print → Save as PDF. It is made by the mkdocs-print-site-plugin listed in docs/requirements.txt, so a self-hosted build has it too.
To produce the PDF without a browser dialog — the same file the public manual offers — print that page with headless Chromium:
pip install -r docs/requirements.txt playwright==1.63.0 pdfplumber==0.11.7
python -m playwright install --with-deps chromium
mkdocs build --strict
python scripts/docs/export_manual_pdf.py --site-dir site --output Milestone-Manual.pdf
The script serves site/ on a local port, waits for every screenshot and font, and writes an A4 PDF: a cover with the version and build month, a footer from page 2 on (title, version, page n / total), bookmarks for the chapters and their sections, and page numbers in the Contents (it renders the page, reads where each chapter starts, writes the numbers and renders again until they hold). Between renderings it also fixes the layout: a screenshot that would leave most of a page blank is shrunk a little to stay with its heading — by at most a third of its height, so that its text stays legible — and when that is not enough, the text that follows it in its section moves up to fill the page and the screenshot opens the next one, as a typesetter places a figure; a heading stranded at the bottom of a page moves to the next one, and a chapter whose last page would hold only a few lines is tightened or broken earlier so the page carries a proper block. Short paragraphs are kept whole, so a page never holds one lone line of the paragraph before it.
The result depends as little as possible on the machine. Chromium prints unhinted glyphs (--font-render-hinting=none): with hinting, as GitHub's runner applied by default, every glyph snaps to a whole pixel, the text runs about 3 % wider and the page breaks move; the script prints which it got. The fonts are the theme's web fonts, Roboto and Roboto Mono, with DejaVu (fonts-dejavu-core) and Liberation (fonts-liberation) for the few characters they lack — install those two packages for a local run that predicts the published one. The body text is checked against the size the print rules ask for (Chromium shrinks the whole document when something is wider than the page, so the script also breaks long names in table code).
To check that the layout passes cope with other line breaks, --family prints the manual under a set of renderings — hinted glyphs, the machine's own fonts instead of the web fonts, text 2 % larger or smaller, letter spacing 1 % wider or narrower — and fails unless every one passes; --font-hinting, --block-web-fonts, --text-scale and --letter-spacing give one of them on its own.
It then checks the layout of the PDF it wrote, with pdfplumber, and stops with a list of problems when it finds:
- an image cut by a page edge, or text or a box outside the page's text area;
- a heading left at the bottom of a page;
- a page inside a chapter that ends more than a third early (the message names the page and the heading that moved to the next one);
- the last page of a chapter holding fewer than six lines with no image or table;
- a Contents number that does not match its chapter, a body text smaller than the print rules ask for, or fewer pages or bytes than the manual can take.
It also stops when the page does not load or an image is missing, and prints how full each chapter's last page is. The print rules are in docs/stylesheets/print.css, which also serves the browser's own Print of the print page.
When a page's text changes so that the automatic passes cannot place it well, an author can steer the print layout from the Markdown with two attributes (the attr_list extension), which the online manual ignores:
{.print-page-break}on a heading or a paragraph starts it on a new page;{.print-keep-with-next}keeps a heading or a paragraph on the same page as the block after it.
## Keeping it internal {.print-page-break}
The steps below need an administrator: {.print-keep-with-next}
Publish the PDF next to your copy of the manual if your users want a download.
The header of every page has two buttons: one opens the print page, the other downloads the PDF from manual_pdf_url under extra in mkdocs.yml, which is the public PDF by default. Set it to the address of your own copy of the PDF, or leave it empty to hide the download button (and the download link on the print page) on a network without internet access. On narrow screens both buttons are hidden; the home page links to the print page and the PDF.
3. Point Milestone at your copy¶
In Milestone, open Settings → Features & defaults and enter the address Help should open in Documentation URL (an administrator, or any role with Edit instance settings), then Save Changes. See Settings → Features & defaults.
- The address must start with
http://orhttps://, without spaces or a user name and password, up to 2000 characters. - It is opened exactly as entered, with nothing appended: your copy's home page (
https://intranet.example.com/milestone-docs/), or the PDF of the manual on a file share such as SharePoint, with the link's query string and a#page=fragment if you like. - The setting is per workspace: in multi-tenant mode, set it in each workspace that should use your copy.
- Clear the field and save to go back to the public manual.
When you upgrade Milestone, rebuild and redeploy the manual from the same version, so the chapters describe what your users see.