Commit de427269 authored by Ivan Tyagov's avatar Ivan Tyagov

There's no need to show as available roles for a Role Definition of following ones:

'Anonymous', 'Authenticated', 'Member', 'Reviewer'. Part of them are acquired from user being logged in, rest are zope internal ones.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41302 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ac83f3b
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
\n \n
return [(translateString(role), role)\n return [(translateString(role), role)\n
for role in context.valid_roles()\n for role in context.valid_roles()\n
if role not in (\'Owner\', \'Manager\')]\n if role not in (\'Owner\', \'Manager\', \'Anonymous\', \'Authenticated\', \'Member\', \'Reviewer\',)]\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
908 909
\ No newline at end of file \ 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