Permissions
Access in FireHawk comes from grants: a role (a set of permissions) given to a user group or a single user, on a scope (all hosts, one host group, or one host). See Access control for how to manage them in the UI.
Account types
Section titled “Account types”| Type | Rights |
|---|---|
| FireHawk admin (account role admin) | Every permission in every workspace; manages accounts, workspaces, single sign-on settings and the global audit log |
| Workspace admin (workspace role admin) | Every permission inside that workspace; manages its members, user groups, roles and grants |
| User | Only what their grants give them |
Host permissions
Section titled “Host permissions”Host permissions apply to the hosts in the grant’s scope.
| Permission | Allows |
|---|---|
host.view |
See the host, its live and desired rules, history, drift and deployments; preview deploys |
rules.edit |
Edit desired rules, chains, tables, NAT and policies; load from host; restore versions; apply templates; IPv6 and other-software settings |
deploy |
Deploy, dry-run and roll back |
host.edit |
Edit connection settings, test SSH, detect the firewall, install persistence packages |
host.delete |
Delete the host |
hostkey.accept |
Accept a changed SSH host key |
Any host permission includes host.view on that host.
Global permissions
Section titled “Global permissions”Global permissions only take effect in grants on all hosts. In a grant on a host group or a single host they are ignored.
| Permission | Allows |
|---|---|
hosts.create |
Add hosts |
groups.manage |
Create, edit and fill host groups |
aliases.manage |
Create, edit, refresh and delete aliases (changes reach every host using them) |
templates.manage |
Create, edit, import and delete rule templates |
config.transfer |
Export and import configuration (hosts, aliases, groups) |
audit.view |
Read the audit log |
credentials.manage |
Create, rotate and delete SSH credentials and jump hosts, accept jump host keys |
notifications.manage |
Create, edit, test and delete notification channels (email, Slack, Teams, webhooks) |
policies.manage |
Create and edit layered policies and host exclusions; changes reach hosts on their next deploy |
maintenance.manage |
Create, edit and delete maintenance windows |
jobs.view |
See background jobs and workers |
jobs.manage |
Retry and cancel background jobs, queue drift checks for all hosts |
Built-in roles
Section titled “Built-in roles”Built-in roles cannot be edited or deleted. Copy one to build a custom role from it.
| Role | Description | Permissions |
|---|---|---|
| Viewer | Read-only access to hosts | host.view |
| Editor | Edit desired rules, no deploy | host.view, rules.edit |
| Deployer | Edit desired rules and deploy | host.view, rules.edit, deploy |
| Host admin | Everything on the hosts in scope | host.view, rules.edit, deploy, host.edit, host.delete, hostkey.accept |
| Operator | Hosts, rules, deploys, aliases, templates, groups and configuration; grant it on all hosts | host.view, rules.edit, deploy, host.edit, hosts.create, groups.manage, aliases.manage, templates.manage, config.transfer |
Custom roles are any combination of the permissions above. A role that is used by a grant cannot be deleted.
How grants combine
Section titled “How grants combine”A user’s effective permissions on a host are the union of:
- grants on all hosts,
- grants on the host group the host belongs to,
- grants on that host,
each made to the user directly or to any user group they are a member of. Global permissions are the union of the grants on all hosts. There are no deny rules.
Users & access, Users, Effective access shows the resolved result per user: global permissions and permissions per host.
Visibility
Section titled “Visibility”- Hosts a user has no permission on are invisible to them: they are left out of lists and answer 404 Not Found.
- A visible host where a permission is missing answers 403 Forbidden for that action.
- Lists such as host groups only show the hosts the user can see.
Moving hosts between groups
Section titled “Moving hosts between groups”Moving a host into another host group changes which grants cover it. A user who is not an admin cannot move a host when the move would give them more permissions on it, and hosts they cannot see keep their group membership.
Examples
Section titled “Examples”| Grant | Effect |
|---|---|
user group web-team → Deployer on host group web |
Members edit and deploy the hosts in web only |
user group auditors → custom role with host.view + audit.view on all hosts |
Read-only view of every host and the audit log |
user alice → Editor on host db1 |
Alice edits db1’s desired rules; someone else deploys |
Single sign-on and API tokens
Section titled “Single sign-on and API tokens”With single sign-on, membership of mapped user groups comes from the identity provider and is synced at every login; rights still come from those groups’ grants. Personal API tokens act with their owner’s permissions in the workspace they were created in; read-only tokens are limited to read requests. See Single sign-on and API tokens.
