Workflow can't prevent users to create new issue for specific tracker
TrackerA, default status: New.
RoleA: AddIssue enabled.
Workflow for RoleA and TrackerA: disable all status from the first line: "New issue".
UserA has only RoleA's permission in ProjectA.
Try to New Issue, as TrackerA.
Expected Result: since all status are disabled for this role and this tracker, there should be no status available for this user. So we can prevent this user to create new issue for TrackerA.
Actual Result: The default status of TrackerA set by tracker settings, will be available when this user try to create new issue.
This issue fails on both 4.0.2 and 4.0.3
Redmine version 4.0.2.stable
Ruby version 2.6.2-p47 (2019-03-13) [x86_64-linux-gnu]
Rails version 5.2.2
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp