Access control
FireHawk accounts are either admins, who can do everything, or users, whose rights come from grants. A grant gives a role (a set of permissions) to a user group or a single user, on all hosts, a host group or one host. A user’s rights are the union of all their grants.
Everything is managed under Users & access (admins only). In a FireHawk with workspaces this page manages the current workspace.
The Users tab lists the accounts with their type, user groups and status.
- Add user: e-mail, password (minimum 8 characters) and account type: user or FireHawk admin. A new user has no access until you add them to a user group or grant them a role.
- Reset password, Disable / Enable, or delete an account.
- Effective access shows what a user can actually do: their global permissions and their permissions on each host, resolved from every grant.
- Users created by single sign-on show an SSO badge and the identity-provider groups of their last sign-in.
Login e-mails are not case-sensitive.
User groups
Section titled “User groups”The User groups tab creates groups such as web-team. Members… picks their members. Grants given to a group apply to all its members. With single sign-on, membership can be synced from the identity provider.
The Roles tab lists the roles. Built-in roles cannot be edited or deleted; Copy one to adapt it.
| Built-in role | Permissions |
|---|---|
| Viewer | host.view |
| Editor | host.view, rules.edit |
| Deployer | host.view, rules.edit, deploy |
| Host admin | every host permission |
| Operator | host.view, rules.edit, deploy, host.edit, hosts.create, groups.manage, aliases.manage, templates.manage, config.transfer (what the former operator role allowed; grant it on all hosts) |
New role builds a custom role by ticking permissions in two lists:
- On the hosts in scope: host permissions, such as
rules.editordeploy. Any host permission includeshost.view. - Global (only in grants on all hosts): permissions not tied to a host, such as
aliases.manageoraudit.view.
A role in use cannot be deleted. See Permissions for the full list.
Access grants
Section titled “Access grants”The Access grants tab connects roles to people and hosts:
- Choose the role.
- Choose a user group or a user.
- Choose the scope: all hosts, a host group, or a host.
- Click Add grant.
Examples:
| Grant | Effect |
|---|---|
web-team → Deployer on host group web |
The team edits and deploys the web hosts only. |
auditors → a role with host.view + audit.view on all hosts |
Read-only access to every host and the audit log. |
alice → Editor on host db1 |
Alice edits db1’s desired rules but cannot deploy them. |
Global permissions only count in grants on all hosts. A grant on a host group covers the hosts currently in that group.
Visibility
Section titled “Visibility”- Hosts outside a user’s grants are invisible: lists do not show them, and opening one answers not found (HTTP 404).
- A visible host where a permission is missing answers forbidden (HTTP 403), and the UI hides or disables the action.
- Apply template to a group only touches the hosts the user may edit; the others are listed as skipped.
- Rollouts never deploy hosts the user cannot deploy.
Sensitive permissions
Section titled “Sensitive permissions”Some permissions reach beyond a single host. Give them to trusted people only:
| Permission | Why |
|---|---|
groups.manage |
Moving a host into another group changes which grants cover it. Non-admins cannot move a host when that would give themselves more rights on it, but they can affect others. |
config.transfer |
An import can overwrite hosts. |
aliases.manage |
An alias change reaches every host that uses it. |
policies.manage |
A policy change reaches every host in its scope. |
credentials.manage |
Controls the keys FireHawk logs in with. |
Every change to users, groups, roles and grants is recorded in the audit log (role.*, user_group.*, grant.*).
