Edgewall Software

Opened 11 years ago

Last modified 7 years ago

#11093 closed defect

subversion hook scripts do not respect the trac workflow — at Initial Version

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: version control Version:
Severity: normal Keywords: workflow
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If i configure the following workflow within trac:

leave = * → * leave.default = 1 leave.operations = leave_status accept = new,assigned,reopened → accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY reassign = new,assigned,accepted,reviewing,reopened → assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY review = new,assigned,accepted,reopened → reviewing review.operations = set_owner review.permissions = TICKET_MODIFY reopen = closed → reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = reviewing → closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY

it should be not possible to switch from any other state than reviewing to closed. But with subversion hook scripts like trac-svn-post-commit-hook this is totally ignored and tickets can be closed directly from new or other states.

Change History (0)

Note: See TracTickets for help on using tickets.