Content
View differences
Updated by Jens Ulferts 6 months ago
### 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 (that still has permissions to create WPs
projects and 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 that has PIR active) active
5. Click on Continue
6. Fill all info
7. Click on Continue again
### What is the buggy behaviour?
* User can't create project PIR
* 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. PIR
###
### 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)
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
3. Click on Project (the same would happen for any workspace)
4. Select a template (with or without
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)