This page is based on code-level analysis. Verify permission behavior in your Polarion environment, as server-side enforcement may vary by version.
Step 1: Open the Domain Model
- Navigate to Administration > Nextedy POWERSHEET > Domain Models
- Select the domain model to edit
- Locate the entity type under
domainModelTypeswhere you want to configure permissions
Step 2: Set Property-Level Permissions
Each property in an entity type can havereadable and updatable flags to control visibility and editability:
Permission Flag Reference
| Flag | Default | Effect when false |
|---|---|---|
readable | true | Property is hidden from the sheet UI |
updatable | true | Property is displayed as read-only |
Step 3: Configure System-Level Read-Only Properties
Certain properties are always read-only regardless of your domain model settings:id— the work item identifieroutlineNumber— the document hierarchy position
Document entity types, properties like moduleFolder, moduleName, title, and type are also read-only after creation.
Setting
updatable: true on id or outlineNumber has no effect — these fields are always enforced as read-only by the server.Step 4: Set User-Level Permissions
Powersheet also enforces user-level permissions for document and model administration. These are determined by the user’s Polarion roles:- document.admin.read — can view sheet configuration
- document.admin.write — can modify sheet configuration
- model.admin.read — can view domain model configuration
- model.admin.write — can modify domain model configuration
readOnly flag is also evaluated, which makes the entire powersheet read-only when the user lacks write permissions or the license is invalid.
Step 5: Apply Permissions to Navigation Properties
Permissions can also be set on relationship navigation properties via thedirect and back definitions:
updatable: false, the relationship column will also be read-only.
Verify
After saving your domain model changes, open a powersheet document. You should now see:- Properties with
readable: falseare not displayed as columns - Properties with
updatable: falseare displayed but cannot be edited (cells appear greyed out) - System fields (
id,outlineNumber) remain read-only regardless of settings
See Also
- Configure Read-Only Column — make individual columns read-only in sheet configuration
- Add a Custom Property — define properties on entity types
- Create an Entity Type — define new entity types with properties
- Apply Column Styles — visual styling for read-only columns
Source reference
Source reference
permissions.yaml, DataPropertyFactory.java, UserPermissions.d.ts, DomainModelTypeV2.java
Sources
Sources
KB ArticlesSource Code
prod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/permissions.yamlDataPropertyFactory.javaMetadataTest.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/types/UserPermissions.d.tsprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/ConfigProvider.tsx