# Bug FPCV-36 - Enable calculation of admin only calculated values on change of non admin only field values by non admins

Project: Feature Project - Calculated value
Status: closed
URL: https://community.openproject.org/work_packages/FPCV-36

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.4.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Ivan Kuchin |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

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 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
