Project

General

Profile

« Previous | Next » 

Revision 1043

Merged IssuesController change_status and add_note actions.
The 'Change status' specific form removed and now accessible from issue/show view with no additional request (click on 'Update' to show the form).
The 'Change issue status' permission is removed. To change the status, the user just needs to have either 'Edit' or 'Add note' permissions and some workflow transitions allowed.

View differences:

redmine.rb
32 32
                                  :reports => :issue_report}, :public => true                    
33 33
    map.permission :add_issues, {:projects => :add_issue}
34 34
    map.permission :edit_issues, {:projects => :bulk_edit_issues,
35
                                  :issues => [:edit, :destroy_attachment]}
35
                                  :issues => [:edit, :update, :destroy_attachment]}
36 36
    map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]}
37
    map.permission :add_issue_notes, {:issues => :add_note}
38
    map.permission :change_issue_status, {:issues => :change_status}, :require => :loggedin
37
    map.permission :add_issue_notes, {:issues => :update}
39 38
    map.permission :move_issues, {:projects => :move_issues}, :require => :loggedin
40 39
    map.permission :delete_issues, {:issues => :destroy}, :require => :member
41 40
    # Queries

Also available in: Unified diff