Skip to main content

Prerequisites

  • Polarion Admin or Project Admin role
  • Access to Administration interface
  • Active Nextedy licenses for Risksheet/PowerSheet (if assigning product-specific permissions)

Steps

1. Navigate to Permission Settings

Or from the project:

2. Assign Polarion Project Roles

TestAuto2 leverages standard Polarion roles with custom role-based form layouts (HATs):
RoleTypical AccessRecommended For
project_adminFull project control, configuration changesProject managers, Safety managers
project_userCreate/edit work items, submit for reviewSafety engineers, Design engineers
project_readerRead-only access, dashboard viewingStakeholders, Auditors
reviewerApprove/reject documents, commentFunctional safety assessors
Assign a role:
  1. Select user from the list
  2. Click ➕ Add Role
  3. Choose role from dropdown
  4. Click Save
Each role gets a tailored dashboard: Safety Engineer Dashboard, Design Engineer Dashboard, V&V Engineer Dashboard, etc. Role assignment automatically configures the home page widget visibility.

3. Configure Work Item Type Permissions

Fine-tune who can create/edit specific work item types: Common permission patterns:
Work Item TypeCreateEditDelete
Hazard, FailureModeSafety EngineersSafety Engineers + ReviewerProject Admin only
SystemRequirementSafety Engineers, Design EngineersSame + ReviewerProject Admin only
RiskRecordSafety EngineersSafety EngineersProject Admin only
VerificationTestCaseV&V EngineersV&V EngineersProject Admin only
SafetyGoalSafety EngineersSafety Engineers + Reviewer (workflow-controlled)Project Admin only
For work items with ASIL classification (SafetyGoal, SystemRequirement), enable workflow-based edit locking. Once a document enters “In Review” state, only reviewers should modify ASIL ratings. Configure this in .polarion/documents/workflow/document-workflow.xml.

4. Assign Nextedy Product Licenses

Risksheet and PowerSheet features require active licenses: License types:
  • Active User: Full read/write access to risksheet/powersheet (edit cells, formulas, views)
  • Viewer: Read-only access (view sheets, export to Excel, but cannot edit)
  • No License: Cannot access risksheet/powersheet features (documents show error: “Nextedy license required”)
Assign a license:
  1. Select user from “Unlicensed Users” list
  2. Click Assign Active License or Assign Viewer License
  3. Verify license count decreases in the header (e.g., “23 / 25 licenses used”)
TestAuto2 deployments typically allocate Active licenses to Safety Engineers and Design Engineers who author FMEA/HARA documents. Assign Viewer licenses to stakeholders who only need to review risk matrices. Exceeding license count blocks new assignments.

5. Configure Document Space Permissions

Control access to HARA, FMEA, and other risk specification documents by space: Space permission matrix:
SpaceAdminAuthorViewer
Risks/Proj AdminSafety EngineerAll
Requirements/Proj AdminSafety EngineerAll
Testing/Proj AdminV&V EngineerAll
Documentation/Proj AdminAllAll
  • Admin: Create/delete documents, modify space config
  • Author: Create documents, edit work items, submit for review
  • Viewer: Read documents, export to PDF, view dashboards

6. Set Custom Field Permissions (Optional)

Restrict who can edit critical safety fields like ASIL classification or Action Priority:
  1. Edit .polarion/documents/fields/custom-fields.xml
  2. Add <allowedRoles> to field definition:
<custom-field id="classification">
  <label>Special Characteristic</label>
  <type>enum</type>
  <enum-id>sc-cc-classification</enum-id>
  <allowedRoles>
    <role id="project_admin"/>
    <role id="safety_engineer"/>
  </allowedRoles>
</custom-field>
  1. Commit and restart repository to apply changes
Fields like finalActionPriority (FMEA) or asil (HARA) are auto-calculated by risksheet formulas. Set these as read-only for all users to prevent manual override. The formula recalculates on every risksheet save.

7. Verify Permissions

Check as non-admin user:
  1. Log in as a test user (e.g., safety.engineer role)
  2. Navigate to a HARA document in Risks/ space
  3. Verify:
    • Risksheet loads (license check)
    • Can edit hazard rows (work item permission)
    • Can save changes (document author permission)
    • Can submit for review (workflow permission)
  4. Navigate to Home Dashboard
  5. Verify role-specific widgets appear (Safety Engineer Dashboard components)
Polarion caches permissions for 5 minutes. After changing roles or licenses, users must log out and log back in to see updated access. Alternatively, administrators can restart the Polarion repository to flush the cache immediately.

Verification

You should now see:
  • User list in Administration → Users and Groups shows assigned roles
  • Nextedy License Management shows allocated Active/Viewer licenses
  • Test user can open a risksheet document and see edit controls (or read-only view if Viewer license)
  • Work item forms show/hide fields based on role (HAT-based form layouts)
  • Document submission workflow transitions appear/disappear based on reviewer role

Troubleshooting

IssueCauseSolution
”Insufficient permissions to edit”User lacks project_user role or work item type permissionAssign project_user role, verify Access Control settings
”Nextedy license required” errorUser has no Active licenseAssign Active or Viewer license in Nextedy License Management
Risksheet shows read-only, cannot edit cellsUser has Viewer license or document is in frozen workflow stateUpgrade to Active license; check document workflow status
Role-specific dashboard missing widgetsUser role not mapped in pages/spaces/_default/Home/page.xmlVerify role ID matches Velocity #if($page.user.hasRole("role_id")) condition

See Also