Bugfix
Major
#28700
Security gap in workflow transitions - Unauthorized processing after task completion
If a user completes a task during edit mode and forwards the workflow, they automatically end up back in edit mode of the original ActiveTaskComponent, even though they may not have edit permissions for the new workflow state. This allows unauthorized editing in workflow states where the user should have read-only access.
Solution: Implement an authorization check after workflow transition that automatically switches to view mode if the user does not have edit permissions for the new state.