# Feature AUTOWORK-157 - Allow setting on a type to allow or disallow project-specific variants

Project: Stream Workflows & Automations
Status: tested
URL: https://community.openproject.org/work_packages/AUTOWORK-157

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-375 | Bug | Admin can still create a variant even if 'allow project specific variant' checkbox is ticked | rejected | OP Dev Sirius Team | 18.0.0 |  | Administration / Type/Variants and Workflows |
| AUTOWORK-374 | Bug | When type has migrated variants, admin can unalllow project specific variants | rejected | Mir Bhatia | 18.0.0 |  | Administration / Type/Variants and Workflows |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Type/Variants and Workflows |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead | Oliver Günther |
| Developers | David Friquet |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As an** administrator of Openproject

**I want to** allow or restrict project-specific variants of a type as part of the settings of a type

**So that** I can make sure to restrict access to some pre-defined behaviors, but allow customization for others (such as Task types)

**Acceptance criteria**

  - Add a checkbox to the details tab of a type
    
      - **Label:** *"Allow project-specific variants"*
    
      - **Caption:** *"For project administrators with the permission to manage variants, this type can be extended or modified within a project."*

  - For types that have this checkbox, project administrators with the permission introduced in feature <mention class="mention" data-id="76571" data-type="work_package" data-text="##FND-110" data-display-id="FND-110">\#\#FND-110</mention> will be able to create variants in their project.

  - For types that have this turned off, project administrators will be shown a disabled create button with a caption:
    
      - *"This type does not allow creation of variants inside projects".*

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - *To whom is this feature visible?*

  - *When is it not visible?*

**Translation considerations**

  - *Key terms and phrases in the key languages*

**Out of scope**

  - 
    <br>

*Set the* **To be informed/consulted teams** *field to include all teams necessary to be informed of the changes.*
