Security and review#
Everything you do in the app happens under a profile. The profile decides what you may change, whether your data is encrypted on disk, whose name goes on the audit log, and who signs a report. This page covers profiles and roles, encryption, two-step verification and recovery, the audit log, and the signing and review workflow.
A profile is this computer's local workspace, not your identity. Sign in on a second computer and you get a second profile there, with its own files and keys — reviews and signatures still show you as the same person on both.
Profiles and roles#
A profile has a name, an icon and colour, an optional password, and one of three roles; a fourth, Operator, appears when an administrator turns on Teaching features.
| Role | May do |
|---|---|
| Admin | Everything a User can, plus the Audit page and resetting another profile's two-step verification. |
| User | Create, change and delete data, run experiments, sequences and schedules, and take part in reviews. |
| Read-only | View, export and generate reports, and sign off in a review as reviewer or approver. Anything that changes stored data is refused. A read-only profile can create only read-only profiles. |
| Operator (Student / Operator) | For students at a shared lab PC. Runs only the experiments the administrator approved, within the parameter limits set, in Basic mode, and opens only the pages the policy lists. Tuning, the sequence and processor editors, plugins, settings and the audit page are never available. The role exists only with Teaching features on (an administrator setting under Appearance); with it off, no Operator role, policy editor or other teaching control is shown. |
An Admin sets the Student / operator policy in the user menu: whether Basic mode is forced, which pages operators may open, the approved experiments with their limits (scans, repetition delay, pulse angle and width), and whether Neutron is off, a read-only tutor, or an assistant. Saving needs the administrator password, and the backend enforces the policy, not the interface. Teaching describes the policy and the rest of the teaching tools.
Directory sign-in profiles#
When the IT department has configured directory sign-in (OIDC or LDAP/Active Directory, see Directory sign-in), Sign in with your organisation appears on the sign-in prompt and creates a profile on first use. Its role is not chosen in the profile dialog: the organisation's group mapping gives it Admin, User, Operator or Read-only, and the mapping wins over any role set in NucleI. The first administrator is still created locally, because directory sign-in is refused until that profile exists. A directory profile's password is the organisation's, never stored by NucleI; if its data is encrypted, keep the recovery key shown at the first sign-in, which is the only way to open it on another PC. The directory administrator role does not give access to the audit log, which still needs the local administrator password.
Choose Role in the Create New Profile dialog (User or Read-only, and Student / Operator with Teaching features on). An Admin cannot be created there. The first administrator is made on first run in Create the Main Admin Profile, which requires a password. The same step creates a passwordless User profile. If automatic sign-in finds no usable profile, a read-only guest profile is created and used.
Roles are protected against editing by other roles. An Admin changes the role of an existing profile, and gives or removes Admin, in Manage profiles (in the profile's edit menu), which opens Profiles and roles:
- The table lists each profile with its Role and Last sign-in. The last sign-in is kept only for directory profiles with an open session; otherwise it reads Not recorded.
- The Role select offers User, Read-only and, with Teaching features on, Student / Operator. Make admin and Remove admin change the Admin role.
- Every change asks for the Administrator password and is written to the audit log.
- A change is refused when it would remove the last administrator, or your own Admin role while you are the only administrator.
- A directory profile shows its role read-only with Set by the directory: the organisation's group mapping gives it, and it cannot be changed here. A directory administrator cannot use the screen, because changes are signed with the local administrator password.
- Authorised devices lists the devices in the registry. Revoke removes a device, except the computer in use. With no registry, the list says that any device may open NucleI. Adding a device to the registry has no screen.
Note
Read-only users see a Read-only chip on their profile, and controls that would modify data are disabled. If a refused action does get through, a Permission Denied dialog says so.
Edit Profile changes the name shown, the icon and the colour. Change Password and Delete Profile are in the same menu; the active profile cannot be deleted.
Passwords and encryption#
A profile created with a password is encrypted. Without one it is not, and the password is optional for every role except the first Admin.
- A new password must be 8 to 256 characters and is checked against a list of common passwords, keyboard and repeating patterns, and your profile name. The rules apply when you set or change a password, never at sign-in, so older passwords keep working.
- After five wrong passwords the profile is locked for 30 seconds, then for twice as long after each further wrong one, up to 15 minutes. The prompt says Too many wrong passwords. Try again in and the seconds left. Wrong passwords typed into a signature prompt count too. Using the recovery key clears the lock.
- An Admin can set Password rules (in the profile's edit menu): Password expiry (days), from 0 to 3650, where 0, the default, turns expiry off. Saving needs the Administrator password. When a password is older than that, the next sign-in shows Your password has expired and the profile stays read-only until a new password, different from the old one, is set.
- Profile files are encrypted with a key that the operating-system keyring holds while the profile is open. The key is protected by your password, so Change Password does not re-encrypt your data.
- Encrypted files include the profile's metadata, saved projects, scans, presets and the stored signature stamp.
- Opening an encrypted profile asks for Password for profile. If the keyring is unavailable, the profile cannot be opened and the error says so.
Warning
Creating a password-protected profile shows Data can be Lost Forever. If you forget the password and have no recovery key, the data cannot be recovered.
Two-step verification#
Two-step verification adds a 6-digit code from an authenticator app (it works offline) after the password. It needs a password-protected profile. Setup shows a QR code, then asks for a current code to confirm, then shows ten single-use recovery codes once. After five wrong codes, entry is locked for a growing delay, up to 15 minutes. An Admin can Reset two-step verification for another profile that lost both phone and codes; an Admin profile cannot be reset.
It protects against someone who learns your password, not against someone who copies the profile's files.
Recovery key#
A Recovery key is 48 digits shown once, to save or print. At the password prompt, choose Forgot password or lost two-step device?, type the key, and set a new password; a new key then replaces the one you used. Creating a new key voids the old one. A password-protected Admin profile without a key shows a reminder to Create one.
Audit log#
The Audit page is visible only to Admin profiles. Each operation the app performs is recorded with the profile that did it, its start time, duration, status and nested steps. Entries are encrypted with the administrator's public key and chained by hash, so only an Admin can read them and removal or edits are detectable. Times are stored in UTC and shown in your local time; entries from earlier versions, stored in local time, are shown as they were written.
- Open Audit and enter your profile password in the prompt, then press Load logs. Up to the latest 1000 traces load.
- Search, or open Filters to narrow by status (OK, ERROR, UNSET), duration, date range and user.
- Select a trace to see its span timeline, attributes, events and logs.
- Download exports the traces on screen; Refresh reloads.
The newest entry's number and hash are also kept outside the audit folder, and a background check at startup compares the two, so replacing the whole audit folder with an older or different copy is noticed. Verify chain in the Audit toolbar opens Verify the audit chain, asks for the Administrator password, checks every entry's sequence number, link to the previous entry and hash, and compares the newest entry with the copy kept outside the folder. An intact chain is reported as The chain is intact, with the number of entries. Otherwise it names the First broken entry and lists any others. Entries written while an earlier version had a fault in its chain bookkeeping can show as out of sequence. Role changes, Admin grants and revoked devices made in Manage profiles are entries in the same chain.
The toolbar also shows Forwarding to gateway with a switch. When a gateway that accepts audit trails is connected, each entry is also sent to it, still encrypted, and the line reads up to date, N waiting (the gateway was unreachable; entries are sent in order when it returns) or chain mismatch (the gateway's copy and this computer's differ). The switch is disabled when the machine policy fixes the setting. See Forwarding the audit trail.
Signing and review#
A project's report, and each scan analysed in it, moves through a review. Each step that carries a meaning is a signature.
| State | Meaning |
|---|---|
| Draft | Being written. |
| In review | Signed by the author and sent on. |
| Changes requested | Sent back by a reviewer with a reason. |
| Approved | Signed by an approver. |
| Step | From | Signature | Who |
|---|---|---|---|
| Request review | Draft, Changes requested | "I created this record" | Admin, User |
| Mark reviewed | In review | "I have reviewed this record" | Any role |
| Request changes | In review | None; a reason is required | Any role |
| Approve | In review | "I approve this record for use" | Any role |
| Reopen as draft | In review, Changes requested, Approved | None; a reason is required from Approved | Admin, User |
Review happens in the review rail: the Review button at the right of the strip above the report editor opens it beside the report, and for scans it is the Scan review panel of the Acquisition plot. The rail says where the review stands and who you are in it (Waiting for Dana, Ada asked you to review this), lists the items in review with how many are done, shows warnings with the step that resolves them, holds the discussion, and keeps a History of every step with who took it, when, any note, and whether its signature still holds. Its bottom bar is the one place to decide: Request changes and Approve, with Mark reviewed in the arrow next to Approve, or Request review…, Withdraw request and Reopen as draft for the author. A step that is blocked stays visible, with the reason written beneath it. Each step opens a prompt showing what you state by signing. Re-enter your Password (profiles with a password), add a Comment (optional), and press Sign. Mark reviewed and Approve need a password-protected profile; on a profile without one the prompt says so and Sign stays disabled. Request review records authorship and works on any profile that may modify data. A profile with no signing key yet is offered Generate signing key.
A scan signature covers the exact content of the stored scan. A report signature covers the report template and the data the report shows:
- The scans it renders. These are the scans its placeholders, scan sections and page sections resolve to when the review is requested: the current scan, the scans a section selects, and the scans on the pages it shows. If a template reads data that cannot be traced to particular scans (qNMR, DOSY, series, QC, custom or plugin values), the signature covers every scan in the project.
- The project processing settings the scans are rendered with.
The signature prompt states what it covers, for example This review request covers the report and the data of scans 1H, 13C. The status chip lists the scans an approval covers.
A scan's data is what the report draws from it: the spectrum and signal, the analysis, integration regions, peak edits, sample and processing settings. Renaming a scan, moving it to another group or changing its plot artwork does not affect a signature. Editing the template, the data of a covered scan or the processing settings makes the signatures invalid, and the message names what changed: The data changed after signing: 1H. Changes to scans the report does not render have no effect.
The covered data is fixed when the review is requested. Reviewers sign that same data. If a covered scan changes while the report is in review, the status shows Data changed after review was requested with the scan, and Mark reviewed and Approve are refused until the author reopens the report and requests review again, which records the new data. Comments written during the review record the request they were written against.
Signatures made before signatures covered scan data still verify against the template. They are labelled Not bound to data.
An Approved report is locked. The editor is read-only, loading another template into it or swapping it from a schedule is refused, and the report is not generated if its approval no longer verifies. It is also not generated while it would show a scan the approval does not cover, for example after a different scan is loaded as the current one. Preview still renders such a report, under a banner saying the approval no longer covers this data. To change it, choose Reopen as draft and fill in Reason in the prompt. The reopen is recorded in the audit log with your profile and the reason, the approved revision is kept as it was, and the report continues as the next revision, a draft with no approval. A Revision chip in the review bar opens Approved revisions, the approved revisions kept so far, each with its content, signatures and the reason it was reopened.
Review rules (the gear in the review rail's header, for profiles that may modify data) sets whether the author may also Mark reviewed or Approve; both are blocked by default. A blocked step is shown disabled with the reason beneath it. It can also require approval by a verified identity: with that on, approving needs a profile whose signing key is certified at that time (see Verified identities), and any other profile is refused with an explanation.
Verified identities#
A signature is shown as Verified only when it carries a certificate for the key that made it, from an issuer this computer knows. The certificate names the person and the key, and travels with every signature and review package, so a recipient checks it without a network connection and without having met the signer's key before.
| Sign-in on the profile | Certificate from | Signs as |
|---|---|---|
| TQT portal account (TQT Connect → Sign in) | terraquant.tech | Verified, portal account |
| Organisation directory, through your self-hosted gateway | That gateway | Verified, organisation account |
| LMS, linked through your self-hosted gateway | That gateway | Verified, LMS account |
| Organisation directory, with no gateway | Nobody | Local |
| None | Nobody | Local |
The app asks for a certificate when you sign in, and a gateway certificate again before it runs out. A portal certificate is issued only right after you sign in to the portal with your password, so it has to be renewed by signing in again at least every 30 days. Re-opening the app with a stored portal session does not count as a sign-in. If the portal refuses the certificate right after a sign-in, the app says so once, with the reason. While no valid certificate exists and a portal sign-in would obtain one, the account menu shows Signing identity not verified · Sign in. A profile that held a certificate gets one reminder per session, with a Sign in button, when it is due; a profile that never had one is not asked. Verify identity in the signature prompt asks the gateway right away. A portal certificate lasts 30 days, an organisation one 14 days and an LMS one 7 days. Signing out of the portal removes the profile's portal certificate.
A signature stays verified for good when its certificate was valid at the time it was signed. A signature dated before its certificate was issued, or in the future, is not verified. A review, approval or other judgement dated before the review request it answers does not count, and neither does a signature dated before an earlier one of the same key in the same review.
Everything else is Local: the signature can still be valid, but it names nobody beyond this profile. A local signature never satisfies require approval by a verified identity, never counts as the designated reviewer and never shows as verified, whatever identity it claims. Directory sign-in on a computer with no gateway opens the profile, but the app cannot certify it, so its signatures stay local.
Each signature also covers the project it was made in, so an approval cannot be moved to another project. Renaming the project keeps it. A copy made with Duplicate as working project is a new project. Signatures made before this was recorded are not tied to a project.
The rail's Discussion holds threaded comments anchored to the whole report, a section, a scan, or a peak: the peak selected on the plot, or one typed At a shift…. It shows the comments of the item in view, or of All items, open, resolved or both. Threads can be resolved and reopened, a comment written on an earlier request is labelled so, and open comments are counted on the Review button and in the checklist.
Reviewing with someone on another computer#
Author and reviewer do not need the same profile, computer or account. Request review… opens one dialog for the whole request: What (the report and the scans it shows are ticked; an item already in review or approved says why it cannot be), Who (a TQT Connect contact, a profile on this computer, someone who worked on the project, anyone, or a typed name; a contact who cannot receive packages yet says so), Send via (chosen from who: TQT Connect, This computer, or File, a .nreviewpkg to pass on by mail or a shared drive), an optional note, and your password. Sign and send signs the request for every ticked item at once and sends one review package: a snapshot of the report and scans, the discussion so far, and the data the review was requested on, named Review: project. The package is signed, and the signature covers every part of it. If sending fails after signing, the request stays recorded, the dialog offers Send again and Save as file instead, and the rail says it was not sent. The recipient finds it in Reviews → For me. The chosen reviewer is recorded on each item and shown on its status until the review is sent back or withdrawn.
An imported review package never replaces a project. It opens as its own project, named Review- followed by the original name: Review-Assay, or Review-Assay (2) when that name is taken. A later package of the same review, from the same sender, updates that copy and keeps what the reviewer already wrote and signed in it. The copy is a read-only snapshot, clearly marked as such: the reviewer can comment, reply, resolve and sign against exactly the version they were shown, but cannot edit the science. The reviewer returns the decisions with Send back to requester; importing it merges the reviewer's comments and decisions into the author's own project, under its original name, without touching project data. Feedback written against an older revision stays visible as history, marked stale, and never counts as approving the current one. A signature shows two things side by side: whether it verifies, and how the signer is known — organisation sign-in, portal account, LMS, or local-only.
On import, the scans in a package are checked against the data the review was requested on, and a package whose scans differ is refused with the scans named. A signature in a package counts when its key is certified (see Verified identities), or when its key is one this computer already knows: a key of one of its own profiles, or a key pinned earlier. A known key without a certificate makes a local signature. Keys from TQT Connect shares are pinned for the sender's gateway account once the gateway lists that key for the account; a pin only remembers the key, and never makes its signatures verified. Keys carried inside the package are never trusted on their own.
When the sender's key is not trusted yet, the package still opens. Its signatures are shown with key not trusted on this computer but not counted, so a package that says Approved opens as in review. The app then asks Trust the sender's key? and shows the key's fingerprint. Trust it only after the sender has confirmed that fingerprint to you, for example in person or by phone. Trusting imports the package again with the key pinned for that sender. It is refused for a key that also signs as someone else, for a sender that already has another trusted key, for your own identity, and for a sender that names a verified identity: such a sender is verified by its certificate, never by a pin. Feedback is stricter: only signatures that verify are merged, a state counts only when a verified signature backs it, and comments and history are merged only from a sender whose key is trusted, and only as that sender's own. Feedback is merged only into the project it names.
Packages saved before the signature covered every part of the package still open, labelled as an older format. Nothing in them counts: their signatures are kept for the record but never back a state, and their key is never pinned.
When the review was requested from a named reviewer with a verified identity, only that reviewer, signing with a certified key, can Mark reviewed or Approve. A judgement by anyone else, or by a key without that certificate, does not count, and the report is not generated from it. Anyone can still comment. A review requested from anyone stays open to all reviewers. So does one addressed to a local name: the name is then only a label, and the status chip says so. Sending through the gateway to a single recipient names that recipient's portal account as the reviewer. The named reviewer is part of what the request signature covers, so changing it in a package invalidates the request.
The approver's signature is printed on the report. The picture-only signature stamp is a separate thing, set in Settings.
Projects imported from a .nuclei file do not run their code until you accept Trust the code of the project, which shows its source and whether it is signed by a known key.