Commit b230d3f9 authored by Bartek Górny's avatar Bartek Górny

Because the security system was changed, a Person has to have an open...

Because the security system was changed, a Person has to have an open Assignment to be able to log in.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c5f50237
......@@ -82,6 +82,8 @@ person = context.person_module.test_webmaster\n
person.edit(first_name=\'Test\', last_name=\'Webmaster\',\n
reference=\'test_webmaster\', password=\'test_webmaster\')\n
person.setRole(\'internal\')\n
assignment = person.newContent(portal_type=\'Assignment\')\n
assignment.open()\n
\n
if person.getValidationState() != \'validated\':\n
person.validate()\n
......@@ -146,6 +148,7 @@ return \'Reset Successfully.\'\n
<string>_getattr_</string>
<string>context</string>
<string>person</string>
<string>assignment</string>
</tuple>
</value>
</item>
......
3
\ No newline at end of file
4
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment