tests: fix test of submitter access to form (#7329)
This commit is contained in:
parent
3baccb0b5d
commit
9e94dbe7ac
|
@ -136,6 +136,7 @@ def test_form_access(pub):
|
|||
|
||||
# check "receiver" can also access the formdef
|
||||
formdef = create_formdef()
|
||||
formdef.roles = [-2]
|
||||
formdef.workflow_roles = {'_receiver': role.id}
|
||||
formdef.store()
|
||||
user = create_user(pub)
|
||||
|
|
Loading…
Reference in New Issue