Aug 19 - Update code to catch up with ST
This commit is contained in:
@@ -113,6 +113,19 @@ class Config:
|
||||
if os.environ.get('PHOTO_RETENTION_DAYS') else None
|
||||
)
|
||||
|
||||
# ── Issue comment visibility (TEMPORARY — Aug 2026) ──────────────────────
|
||||
# True = every comment on an issue is visible to everyone, customers
|
||||
# included; the per-comment is_customer_visible flag is ignored
|
||||
# when READING.
|
||||
# False = phase22 behaviour — customers see only comments explicitly shared
|
||||
# with them.
|
||||
#
|
||||
# The flag is still WRITTEN on every comment, so flipping this back to
|
||||
# 'false' restores the old behaviour exactly, with no data to repair.
|
||||
# Set COMMENTS_VISIBLE_TO_ALL=false in the environment to revert.
|
||||
COMMENTS_VISIBLE_TO_ALL = os.environ.get(
|
||||
'COMMENTS_VISIBLE_TO_ALL', 'true').lower() == 'true'
|
||||
|
||||
# ── Session / cookies ───────────────────────────────────────────────────
|
||||
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
|
||||
# Secure by default — subclasses must explicitly opt out for local dev.
|
||||
|
||||
Reference in New Issue
Block a user