# Bug PIR-78 - User who is not an instance admin cannot create a PIR

Project: Project Inititation Requests
Status: closed
URL: https://community.openproject.org/work_packages/PIR-78

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project creation |
| Target versions | 17.0.0 |
| Observed in versions | 17.0.0 |
| Bug found in version (deprecated) | 17.0.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a non-admin user who:
    
    1.  Is member in a project defined as a template with any permission
    
    2.  Lacks the "Copy projects" permission in the project
    
    3.  Has the "Create project" global permission
    
    4.  Has the permission to create WPs

2.  Click on top bar + button (or do it from the project list - is not relevant)

3.  Click on Project (the same would happen for any workspace)

4.  Select a template (with or without PIR active)

5.  Click on Continue

6.  Fill all info

7.  Click on Continue again

### What is the buggy behaviour?

  - User can't create project

  - Error 422 in the console

### What is the expected behaviour?

1.  User cannot select workspaces based on templates where "Copy projects" is not granted.

2.  User can create the workspace.

### 

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[e02f32ad39e44167d715c146d7ca23e4d4688969](https://github.com/opf/openproject/commits/e02f32ad39e44167d715c146d7ca23e4d4688969)

Product version

[bc8f10aeb0ace1a06043a488d9972b8e6ce058f3](https://github.com/opf/saas-openproject/commits/bc8f10aeb0ace1a06043a488d9972b8e6ce058f3)

Core version

OpenProject 17.0.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
