Commit ae020bec authored by Jean-Paul Smets's avatar Jean-Paul Smets

Simplify role defintion handling (user only, no stuff related enabled or not)....

Simplify role defintion handling (user only, no stuff related enabled or not). Add as a hint the possiblity to use one day role definitions based on group definitoins (hint only).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16314 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cc9c3c00
...@@ -107,6 +107,9 @@ ...@@ -107,6 +107,9 @@
<list> <list>
<string>my_role_name</string> <string>my_role_name</string>
<string>my_agent_title_list</string> <string>my_agent_title_list</string>
<string>my_function</string>
<string>my_group</string>
<string>my_site</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<string>portal_type</string> <string>portal_type</string>
<string>allow_creation</string> <string>allow_creation</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -80,12 +79,6 @@ ...@@ -80,12 +79,6 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -114,23 +107,23 @@ ...@@ -114,23 +107,23 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>allow_creation</string> </key> <key> <string>allow_creation</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>base_category</string> </key> <key> <string>base_category</string> </key>
<value> <string>agent</string> </value> <value> <string>agent</string> </value>
</item> </item>
<item> <item>
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>The agents.</string> </value> <value> <string>The agents.</string> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
...@@ -142,7 +135,7 @@ ...@@ -142,7 +135,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -157,7 +150,7 @@ ...@@ -157,7 +150,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Agents</string> </value> <value> <string>Agents</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -166,23 +159,4 @@ ...@@ -166,23 +159,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:not(here.getGroup() or here.getSite() or here.getFunction())</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
</dictionary> </dictionary>
......
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