Minor changes and bugfixes.

This commit is contained in:
Gaetan Delannay 2012-04-19 09:20:15 +02:00
parent abdd0ee52d
commit af351f87d3
3 changed files with 7 additions and 4 deletions

View file

@ -2731,7 +2731,8 @@ class WorkflowAnonymous:
'''One-state workflow allowing anyone to consult and Manager to edit.'''
mgr = 'Manager'
o = 'Owner'
active = State({r:(mgr, 'Anonymous'), w:(mgr,o), d:(mgr,o)}, initial=True)
active = State({r:(mgr, 'Anonymous', 'Authenticated'), w:(mgr,o),d:(mgr,o)},
initial=True)
WorkflowAnonymous.__instance__ = WorkflowAnonymous()
class WorkflowAuthenticated: