Closed elise-ng closed 4 days ago
@louischan-oursky i assume "overriding" the MatchResource methods would be fine & we can treat CustomizableXXX as XXX type during render because it will only use FindResources and ViewResourceswhich does not require separate behavior
lmk if there is better golang tricks for this
@louischan-oursky i have tested can't update html or txt even if user override readOnly from ui; however user will still be able to update translations.json
(email subject field), should we change that descriptor as well or would there be side-effect?
from discussion:
pkg/util/template/translation.go
, processAppTranslationData
if feature flag on, do not save keys with pattern email.***.subject
@louischan-oursky updated, plz check again 🙏
Ref DEV-1302
tested server change by adding test case.
tested ui by setting the flag in local fs
var/authgear.features.yaml
:portal screenshot:
https://github.com/authgear/authgear-server/assets/11769136/bbe2a4e5-637e-4f6f-a8d1-d6f1c3fe23fc