Problem
In Protected Environments (Settings → Environments → “Protected Environment” enabled), workflow editing is correctly disabled to enforce Git-based deployments. However, Data Tables remain locked for manual edits, even though their content (rows) is not version-controlled via Git—only metadata and column definitions are.
This creates an inconsistency with Credentials and Variables, which can be edited in Protected Environments (as their Git stubs require environment-specific adjustments). Data Tables often serve similar purposes (e.g., storing environment-specific configurations like API endpoints, feature flags, or lookup values), and blocking manual edits forces workarounds like:
- Temporarily disabling environment protection (risky)
- Using external storage (e.g., databases) for what should be simple table data
- Hardcoding values in workflows (less maintainable)
Proposed Solution
Allow manual editing of Data Table rows in Protected Environments, while keeping the table schema (columns, types) tied to Git deployments. This aligns with the existing behavior for Credentials/Variables and acknowledges that:
- Data Table content is not part of Git deployments (only structure is).
- Environment-specific data (e.g., prod-only configurations) must sometimes be added post-deployment.
Potential Concerns Addressed
- Safety: Row edits wouldn’t affect workflow logic (unlike workflow changes), and schema changes would still require Git.
- Consistency: Matches the current treatment of Credentials/Variables.
- Use Case: Critical for teams using Data Tables as lightweight configuration stores (e.g., for environment variables, feature toggles, or dynamic routing rules).
Impact
- Reduces friction for teams using Data Tables for runtime configurations.
- Maintains security by keeping schema changes Git-controlled.