Content
View differences
Updated by Ivan Kuchin 9 months ago
An admin only calculated value can depend on non admin field (calculated or not). As both formula and admin only checkmark are set by admin, that should not be a problem (also it can be an oversight).
Currently if a non admin field is changed by non admin, only non admin calculated values referencing that field (recursively) will be calculated/updated. It will be even tricky to trigger recalculation of the admin only values without changing some dependency to a different value and back.
This can be resolved in multiple ways:
1. ~~Remove `admin_only` checkmark ~~Remove~~ `~~admin_only~~` ~~checkmark from calculated value fields~~
2. ~~Change the meaning of `admin_only` for calculated value fields to allow calculation for non admin, but not viewing~~
3. Bypass the `admin_only` check when calculating values
Currently if a non admin field is changed by non admin, only non admin calculated values referencing that field (recursively) will be calculated/updated. It will be even tricky to trigger recalculation of the admin only values without changing some dependency to a different value and back.
This can be resolved in multiple ways:
1. ~~Remove `admin_only` checkmark
2. ~~Change the meaning of `admin_only` for calculated value fields to allow calculation for non admin, but not viewing~~
3. Bypass the `admin_only` check when calculating values