Skip to main content
← Back to list
01Issue
FeatureClosedSwamp CLI
AssigneesNone

Relationships

#1031 fix(access): align model RESOURCE_FIELDS between validation and runtime

Opened by stack72 · 7/8/2026

Summary

Pre-existing discrepancy in grant condition validation: RESOURCE_FIELDS for the model kind differs between write-time validation (grant_condition_environment.ts) and runtime evaluation (policy_snapshot_loader.ts).

  • Validation (before #1029): model: ["modelType", "collective"]
  • Runtime: model: ["name", "modelType", "tags", "collective"]

This means conditions like name == "my-model" or tags.env == "prod" on model grants would be rejected at validation time but work correctly at runtime.

Fix

Fixed in #1029 — validation now includes name and tags for the model kind, matching runtime. This expands what validation accepts (no risk to existing conditions).

Filed for traceability since the fix shipped as part of a larger change.


Automoved by swampadmin from https://github.com/swamp-club/swamp/issues/1795

02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

7/8/2026, 4:06:59 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.