# Code maintenance OP-2837 - Recreate user specific schema

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-2837

## OPEN POINTS

_No work packages_

## Subtasks

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Designer |  |
| Developers |  |
| Requires doc change | No |
| Date |  |
| Priority | Low |
| Target versions | 9.0.2 |
| Sprint | 9.0.2 |
| Backlog bucket |  |
| Module |  |
| Accessibility | No |
| List |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work | 0h |
| Remaining work | 0h |

## Description

The work package schema is no longer user specific. This allows for efficient caching as a schema can be cached for all users. But this leads to a schema which no longer corresponds to the work package resource as the later one is user specific and as such might lack some fields “e.g. budget” that the schema claims should exist.

We could:

  - remove the caching all together
  - cache per user
  - cache per roles/permissions.
