pgadmin4/web/pgadmin/browser/server_groups/servers
Ashesh Vashi e4edcf2253
fix: SharedServer feature parity columns and write guards (#9835)
Add passexec_cmd, passexec_expiration, kerberos_conn, tags, and
post_connection_sql to SharedServer so non-owners get their own
per-user values instead of inheriting the owner's.  Drop the unused
db_res column which was never overlaid or writable by non-owners.

Key changes:
- New Alembic migration (sharedserver_feature_parity) adds 5 columns,
  drops db_res, cleans up orphaned records.  All operations idempotent.
- Overlay copies new fields from SharedServer instead of suppressing
- _owner_only_fields guard blocks non-owners from setting passexec_cmd,
  passexec_expiration, db_res, db_res_type via API
- Non-owners can set post_connection_sql (runs under their own creds)
- update_tags and flag_modified use sharedserver for non-owners
- update() response returns sharedserver tags for non-owners
- ServerManager passexec suppression with config.SERVER_MODE guard
- UI: post_connection_sql editable for non-owners (readonly only when
  connected, not when shared)
- SCHEMA_VERSION bumped to 51
- Comprehensive unit tests for overlay, write guards, and tag deltas
2026-04-13 15:03:31 +05:30
..
databases fix: enforce data isolation and harden shared servers in server mode (#9830) 2026-04-09 18:32:59 +05:30
directories Copyright updated for 2026 2026-01-05 13:33:45 +05:30
pgagent Copyright updated for 2026 2026-01-05 13:33:45 +05:30
pgd_replication_groups Copyright updated for 2026 2026-01-05 13:33:45 +05:30
replica_nodes Copyright updated for 2026 2026-01-05 13:33:45 +05:30
resource_groups Copyright updated for 2026 2026-01-05 13:33:45 +05:30
roles Add new options like INHERIT and SET to the Role's membership tab. #6451 2026-01-20 11:53:32 +05:30
static fix: SharedServer feature parity columns and write guards (#9835) 2026-04-13 15:03:31 +05:30
tablespaces Copyright updated for 2026 2026-01-05 13:33:45 +05:30
templates Copyright updated for 2026 2026-01-05 13:33:45 +05:30
tests fix: SharedServer feature parity columns and write guards (#9835) 2026-04-13 15:03:31 +05:30
__init__.py fix: SharedServer feature parity columns and write guards (#9835) 2026-04-13 15:03:31 +05:30
ppas.py Copyright updated for 2026 2026-01-05 13:33:45 +05:30
types.py Copyright updated for 2026 2026-01-05 13:33:45 +05:30
utils.py fix: enforce data isolation and harden shared servers in server mode (#9830) 2026-04-09 18:32:59 +05:30