# Bug SPPM-272 - Not possible to add create_project role when the template permissions feature is disabled

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-272

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Roles and permissions / Global roles and permissions |
| Target versions | 17.0.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 | Attila Dombi |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Disable the feature flag "Create from template permissions".

2.  Enable any of the `create_(project|portfolio|program)` on any global role.

3.  Save the global role.

### What is the buggy behaviour?

  - Saving is not successful and an error message is presented:
    
    There were problems with the following fields: Permissions need to also include 'Create project from template' as 'Create projects' is selected.

  - Since the "Create from template permissions" feature flag is disabled, there is no way to complete the missing dependencies as the "Create project from template" permission is not present.

### What is the expected behaviour?

1.  The form should successfully save, without an error message.

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/917176/content">
