summaryrefslogtreecommitdiff
path: root/addons/portal/security
diff options
context:
space:
mode:
authorAntonin Bourguignon <abo@openerp.com>2012-05-09 18:11:08 +0200
committerAntonin Bourguignon <abo@openerp.com>2012-05-09 18:11:08 +0200
commitae0b84d88e339fc7a569f87e4ce28966f92e7f4b (patch)
treef268d734cca15cc8972194392aa92d9ef117b6ab /addons/portal/security
parent1d50f2d3a900014645f0389f70db93802ed05d11 (diff)
[IMP] remove every reference to 'customer' or 'sale' in the portals modules. also merge 'portal_customer' into 'portal'.
bzr revid: abo@openerp.com-20120509161108-9e9cm9fu658elvb3
Diffstat (limited to 'addons/portal/security')
-rw-r--r--addons/portal/security/portal_security.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/portal/security/portal_security.xml b/addons/portal/security/portal_security.xml
index b64ed078d5f..5e688f9ba91 100644
--- a/addons/portal/security/portal_security.xml
+++ b/addons/portal/security/portal_security.xml
@@ -7,6 +7,12 @@
<field name="sequence">25</field>
</record>
+ <record id="group_portal_user" model="res.groups">
+ <field name="name">User</field>
+ <field name="comment">Portal users can access information provided by the portal menu and the others module it's linked with.</field>
+ <field name="category_id" ref="module_category_portal"/>
+ </record>
+
<record id="group_portal_officer" model="res.groups">
<field name="name">Officer</field>
<field name="comment">Portal officers can create new portal users with the portal wizard.</field>
@@ -20,5 +26,10 @@
<field name="implied_ids" eval="[(4, ref('group_portal_officer'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
+
+ <record id="portal" model="res.portal">
+ <field name="name">Portal</field>
+ <field name="group_id" ref="group_portal_user"/>
+ </record>
</data>
</openerp>