# Feature AUTOWORK-78 - Allow project administrators to manage their own type variants

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

## Planning

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

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| AUTOWORK-109 | Is a project owned type variant shown?  | rejected |  |

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-187 | UX for project-owned type variants | Design Task | closed | David Friquet | 18.0.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-187 | Design Task | UX for project-owned type variants | closed | David Friquet | 18.0.0 |  |  |
| AUTOWORK-191 | Code maintenance | `no_menu` layout must not render the project menu inside a project | tested |  | 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 | https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Type-variants--sub-types-?node-id=1244-89099 |
| 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 | 20d 0h · Σ 20d 0h |
| Labor costs |  |

## Description

**As a** project administrator  
**I want to** create and manage or variants scoped to my own project  
**so that** I can tailor a type for my project without affecting other projects or needing an instance administrator.

## Background

Allowing types to only be managed globally is a hard requirement for many organizations, while other organizations see it as the absolute opposite, resulting in high administrator load for customizations.

The challenging part of this feature is **in-project visibility isolation**: a project's private sub-types must be invisible and unusable to every other project. At the same time, these project-specific sub-types need to be listed globally so they can be managed, and possibly promoted to global.

## Limitations

This feature only concerns the management of variants. It does not allow project administrators to create global types, forms, workflows, nor does it allow to create new custom fields.

## Acceptance criteria

  - With the `:manage_project_variants` project permission, I can create and manage variants owned by my project

  - A project-owned variant is visible and usable only within its owning project. Administrators of other projects cannot see it, select it, activate it, or link an aspect to it

  - Instance administrators can see project-owned variants in global administration:
    
      - on the index page, only the count of project-owned variants;
    
      - this count links to the type’s Variants tab, listing global **and** project-owned variant with the owning project clearly indicated.

  - A project-owned variant:
    
      - can only be activated in its owning project
    
      - may only reuse existing forms and workflows, but not create their own (<mention class="mention" data-id="82224" data-type="work_package" data-text="##AUTOWORK-347" data-display-id="AUTOWORK-347">\#\#AUTOWORK-347</mention>)
    
      - can reuse the parent, or define its own settings for the other aspects of the variant - same as with a global variant

  - The names of project-owned variant are unique per project and type

## Permissions and visibility considerations

  - **To whom is this feature visible?**
    
      - Project members with `:manage_project_variants` (for their own project's sub-types)
    
      - Global administrators

  - **When is it not visible?**
    
      - users without `:manage_project_variants`
    
      - **a project-owned variant never visible to any project other than its owner.**

## Out of scope

  - Promotion of a project-owned sub-type to global (<mention class="mention" data-id="76573" data-type="work_package" data-text="##AUTOWORK-79" data-display-id="AUTOWORK-79">\#\#AUTOWORK-79</mention>)

  - Transferring ownership of a sub-type between projects.
