User roles¶
A user role is a predefined set of permissions that determines which actions a user can perform on the ONEKEY platform. Rather than granting permissions to each user one by one, you assign one or more roles to a user group, and every member of that group inherits the combined permissions.
This makes it easy to apply least-privilege access – for example, letting external partners only upload firmware, while your analysts can view the results, request expert review, and generate reports.
To assign user roles:
- Click on your profile in the top-right corner.
- Select User groups.
- Either:
- Click Create new user group to set up a new group, or
- Click the Edit button next to an existing user group.
- Move the relevant roles to the assigned list.
- Click Save.
Permissions¶
A permission grants the ability to perform a specific set of actions. Each role bundles a fixed set of permissions, so the roles you add to a user group determine what its members can do.
Permissions are scoped at one of two levels:
- Tenant — applies across the entire tenant. Covers platform-wide features such as managing users, working with Analysis Profile rules, or editing custom issues and CVEs.
- Product Group — applies only to the product groups assigned to the user group. Covers firmware-level actions such as uploading, restarting analysis, editing reports, and editing compliance results.
Use the tabs below to see which permissions each role includes, or expand Permissions overview for a side-by-side comparison.
-
Tenant Level:
- Manage tenant
- View tenant
- View Analysis Profile
- Edit Analysis Profile
- Edit analysis configuration
- Request expert review
- Edit components (SBOM)
- View audit records
- Edit custom issues
- View custom issues
- Edit CVEs
- View CVEs
- Generate reports
-
Product Group Level:
- Upload firmware
- Start firmware analysis
- View firmware
- Edit firmware
- View reports
- Edit reports
- Share reports
- Edit monitoring
- Edit compliance
- Update vulnerability
- Apply Analysis Profile
-
Tenant Level:
- View tenant
- View Analysis Profile
- View audit records
- View custom issues
- View CVEs
-
Product Group Level:
- View firmware
- View reports
-
Tenant Level:
- View Analysis Profile
- Edit Analysis Profile
- Request expert review
- Edit components (SBOM)
- Edit custom issues
- View custom issues
- Edit CVEs
- View CVEs
- Generate reports
-
Product Group Level:
- Upload firmware
- Start firmware analysis
- View firmware
- Edit firmware
- View reports
- Edit reports
- Share reports
- Edit monitoring
- Edit compliance
- Update vulnerability
- Apply Analysis Profile
-
Tenant Level:
- Request expert review
- Edit components (SBOM)
- View custom issues
- View CVEs
- Generate reports
-
Product Group Level:
- View firmware
- Edit firmware
- View reports
- Edit reports
- Update vulnerability
-
Tenant Level:
- Request expert review
- Generate reports
-
Product Group Level:
- View firmware
- View reports
- Edit reports
-
Tenant Level:
No tenant-level permissions
-
Product Group Level:
- Upload firmware
- Start firmware analysis
Note
The Uploader role grants the Start firmware analysis permission, but this only matters for reanalyzing existing firmware – the initial analysis runs automatically as part of upload. Without View firmware, an Uploader-only user has no way to locate firmware to reanalyze in either the UI or the API. Pair Uploader with a role that grants view access – such as Viewer, Editor, or Observer – so Uploader can reanalyze firmware.
-
Tenant Level:
- Request expert review
-
Product Group Level:
- View firmware
- View reports
-
Tenant Level:
- Request expert review
-
Product Group Level:
- View firmware
- View reports
- Edit compliance
-
Tenant Level:
- View audit records
-
Product Group Level:
No product group permissions
Note
Combine the Auditor role with other roles (like Viewer, Compliance, or Editor) to ensure users can access the content they need to audit.
-
Tenant Level:
- Manage tenant
- View tenant
- View Analysis Profile
- Edit Analysis Profile
- Edit analysis configuration
- Request expert review
- Edit components (SBOM)
- View custom issues
- View CVEs
- Generate reports
-
Product Group Level:
- Upload firmware
- Start firmware analysis
- View firmware
- Edit firmware
- View reports
- Edit reports
- Share reports
- Edit monitoring
- Edit compliance
- Update vulnerability
- Apply Analysis Profile
Permissions overview
Actions¶
A single permission can unlock several actions across the platform UI and API. Use the table below to trace a concrete task – downloading an SBOM, sharing a report, editing compliance results – back to the permission that enables it, and therefore the role you need to add to the user's group.
| Permission | Actions |
|---|---|
Manage tenant [Tenant] |
|
View tenant [Tenant] |
|
Upload firmware [Product Group] |
|
Start firmware analysis [Product Group] |
|
View firmware [Product Group] |
|
Edit firmware [Product Group] |
|
View reports [Product Group] |
|
Edit reports [Product Group] |
|
Share reports [Product Group] |
Only available via API
|
Generate reports [Tenant] |
|
Edit monitoring [Product Group] |
|
Edit compliance [Product Group] |
|
Update vulnerability [Product Group] |
|
Apply Analysis Profile [Product Group] |
|
View Analysis Profile [Tenant] |
|
Edit Analysis Profile [Tenant] |
|
Edit analysis configuration [Tenant] |
|
Request expert review [Tenant] |
|
Edit components (SBOM) [Tenant] |
|
View CVEs [Tenant] |
|
Edit CVEs [Tenant] |
|