Issue copying ignores workflow rules
Issue.copy ignores rules defined by workflow for status
New (new issue form).
A simple example.
Let's say we have an issue:
Create a workflow rule where for tracker
Bug and role
Category is read-only on status
User with given role presses the Copy button. New issue form is shown, as expected by workflow there is no Category field because it is not editable by user.
Press create and see that field Category was succesfully copied even though user can't edit it.
Also steps to reproduce on a test database with loaded fixtures:
1. Go to Administration - Workflow - Fields permissions
2. Select role Manager, tracker Bug press edit
Float field read-only for status
4. Log as
jsmith and copy issue#1
5. There is no
Float field on form
6. Save the issue and see that
Float field was copied