Defect #13250
Updated by Toshi MARUYAMA over 8 years ago
The problem: cannot write fields writeable fileds writeab Example: We have users Martin, John and Steve We have the following follwoing statuses: "new", "to be approved", "in progress", "to be tested", "resolved" We have some fields: A Matin can add new issues, and change status to "to be approved". He can change the issue and its content until John approves it i.e. places the issue to status "in progress". John can approve appove issues, so changes status from "to be approved" to "in progress". Steve gets the issue in status "in progress" and can place it in status "to be tested". Only John has write access to the field A in status "to be approved" as it is connected to the approval of the issue. He should shoud not have access the issue, he approved it as the work begins on the issue. 1. Martin adds a new issue and set the status to "to be approved" 2. John approves the task, would place a values in filed A. 3. By placing the issue in status "in progress" the field "A" becomes read only, so he cannot place value in it. Environment: Redmine version 2.2.1.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.11 Environment production Database adapter PostgreSQL Redmine plugins: no plugin installed