equal
deleted
inserted
replaced
18 |
18 |
19 Set-up a workflow |
19 Set-up a workflow |
20 ----------------- |
20 ----------------- |
21 |
21 |
22 We want to create a workflow to control the quality of the BlogEntry |
22 We want to create a workflow to control the quality of the BlogEntry |
23 submitted on your application. When a BlogEntry is created by a user |
23 submitted on your instance. When a BlogEntry is created by a user |
24 its state should be `submitted`. To be visible to all, it has to |
24 its state should be `submitted`. To be visible to all, it has to |
25 be in the state `published`. To move it from `submitted` to `published`, |
25 be in the state `published`. To move it from `submitted` to `published`, |
26 we need a transition that we can call `approve_blogentry`. |
26 we need a transition that we can call `approve_blogentry`. |
27 |
27 |
28 A BlogEntry state should not be modifiable by every user. |
28 A BlogEntry state should not be modifiable by every user. |