how to process document state transition?
- by brick
Imagine there is an application (ASP.NET MVC) that processes some documents. The document must be revised several times by different group of users.
state/role rules:
simple user can only publish document; (priority: low)
userGroup1 can switch it to next state or reject it; (priority: higher)
userGroup2 can confirm previous state and switch it…