# Bug SSI-207 - Hierarchy custom fields: Can circumvent enterprise restrictions

Project: Stream Storage Integrations
Status: closed
URL: https://community.openproject.org/work_packages/SSI-207

## Open points

_No work packages_

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Eric Schubert |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have instance without enterprise token
    
2.  Go to Administration &gt; Custom Fields
    
3.  Create new custom field
    
4.  Select Hierarchy (Enterprise only)
    
5.  Go to dev tools, remove the `disabled` state on the submit button
    
6.  click save
    

### What is the buggy behavior?

*   You can create a hierarchy CF
    

### What is the expected behavior?

1.  A contract / model error should be returned preventing you from creating it.
    

###
