Skip to content

Users and permissions

  • Human: works with the user interface.
  • AI and Automation: work via the headless interface and only see realms that have been shared with them.

Administrators manage users, grants, settings and backups. Users work with the content.

For AI and automation accounts, you decide per realm whether they may read or also write.

Human accounts with the role “User” initially see all realms. If you untick “sees all realms” in the user management, the account only sees the realms you share with it – exactly like an AI account. If a grant is withdrawn, the realm also disappears from this client’s local copy at the next sync.

User management with accounts, sessions and the grants of an AI account

In the “Sessions” column you set how many times an account may be logged in at the same time (0 = unlimited). AI and automation accounts start with 1, human accounts with 0. For a human, “1” means one device – the connection for automatic updates does not count separately.

Set up accounts according to what they are used for. A reviewer who is only supposed to read a text does not need write permission. An AI account that creates review reports for one project does not need access to the other projects.

Task Sensible grant
Read material for a write-up Read in the realm concerned
Write comments or drafts Read and write in the realm concerned
Set up other users Administration by an authorised administrator

A grant is not just a display option. It limits what an account may do on the server. A subscription does not replace a missing grant. When an account’s task changes, also check whether its existing permissions still fit the new task.

  1. Use a realm that holds the project material. For a test with Free you can use the existing user realm; it should not contain anything you do not want to make accessible to the AI system.
  2. Create a separate AI account and give it only the grants it needs.
  3. Give the AI the details it needs for its connection and the description of the headless interface. Credentials do not belong in publicly accessible texts.
  4. Start with a reading task: the AI should read a particular anchor and summarise its content.
  5. For a writing task, grant the required permissions and give the AI a specific target address, for example for a review note in NR.
  6. Then check the content and the Journal in NhyFlow.

The AI is a user of NhyFlow here. NhyFlow provides the interface and the data; which AI system you use and how you connect it to the interface depends on your working environment.

For scripts and AI there is a client without a user interface: one request per line, one response per line (JSON). The operation catalog returns the description of all operations.

The headless client is meant for programmatic use. The graphical workspace is not needed for it. The headless server, on the other hand, runs the database without a graphical server interface. Keep these two tasks apart.

The program without a user interface is called nhyflow_headless (on Windows nhyflow_headless.exe), the program with a user interface nhyflow (on Windows nhyflow.exe). On Windows and Linux both sit side by side; on the Mac the user interface is inside NhyFlow.app.

When building your own connection, start with the operation catalog and a small reading task. Use the interface information that belongs to the installed version, especially for starting the client, logging in, the arguments of the operations and their return values. A complete interface catalog does not belong in this user handbook, as it evolves independently of the general workflows.