[Feature] Add regression tests for non-viable lower-level options being hidden or disabled #93

Closed
opened 2026-07-06 15:07:46 +02:00 by zemion · 1 comment
Owner

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 213
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 4: Extract Policy

Imported item:

Add regression tests for non-viable lower-level options being hidden or disabled.
<!-- codex-generic-backlog-fingerprint:159fe3866195ee97419fe590 --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `213` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 4: Extract Policy` Imported item: ```text Add regression tests for non-viable lower-level options being hidden or disabled. ```
zemion added this to the Phase 4: Extract Policy milestone 2026-07-06 15:07:46 +02:00
zemion added the
type
feature
priority
p2
source/backlog-import
codex/ready
labels 2026-07-07 23:23:33 +02:00
zemion added the
status
triage
label 2026-07-08 02:49:46 +02:00
Author
Owner

Completed in core commit 83784ea.

Added a dedicated privacyRetentionAuditDetailOptionDisabled helper and regression assertions so lower levels cannot select a less restrictive audit detail option than the parent. Existing privacy retention field-lock tests still cover parent lower-level limit locks. Verified with npm run test:module-capabilities and npm run build.

Completed in core commit 83784ea. Added a dedicated privacyRetentionAuditDetailOptionDisabled helper and regression assertions so lower levels cannot select a less restrictive audit detail option than the parent. Existing privacy retention field-lock tests still cover parent lower-level limit locks. Verified with npm run test:module-capabilities and npm run build.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#93
No description provided.