Project

General

Profile

Actions

Defect #21168

closed

Cannot save project when associated with a parent project.

Defect #21168: Cannot save project when associated with a parent project.

Added by Rupesh J about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Project settings
Target version:
-
Resolution:
Duplicate
Affected version:

Description

  • Create a Role "Project Update"
  • do not provide permission to "create project" or "create sub projects"
  • Provide him "Edit Project" permission
  • associate a user with this role to a project having a parent project.
  • Login as a user and edit the project.
  • Modify the description and save.
  • The save fails.

Environment:
Redmine version 3.1.1.stable
Ruby version 2.2.1-p85 (2015-02-26) [x86_64-linux]
Rails version 4.2.4
Environment production
Database adapter Mysql2
We are using 3.1.1, But may exists in other versions as well.

Attaching the patch for the correction.


Files


Related issues 1 (0 open — 1 closed)

Is duplicate of Redmine - Defect #20282: Error message when editing a child project without add project/subprojects permissionsClosedJean-Philippe LangActions

Updated by budo kaiman about 11 years ago Actions #1

Is this a duplicate of #20282?

Updated by Rupesh J about 11 years ago Actions #2

  • Status changed from New to Resolved

Thanks budo kaiman.!

Updated by Jean-Philippe Lang about 11 years ago Actions #3

  • Status changed from Resolved to Closed
  • Resolution set to Duplicate

Updated by Toshi MARUYAMA about 11 years ago Actions #4

  • Priority changed from Urgent to Normal

Updated by Toshi MARUYAMA about 11 years ago Actions #5

  • Is duplicate of Defect #20282: Error message when editing a child project without add project/subprojects permissions added
Actions

Also available in: PDF Atom