summaryrefslogtreecommitdiff
path: root/addons/portal/security
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-09-14 16:46:33 +0200
committerRaphael Collet <rco@openerp.com>2012-09-14 16:46:33 +0200
commit941cb76283aa05bc7e255c2af68251bd39b7ca78 (patch)
tree7a491743c6aa680477ae7d0924f8268bf08c0206 /addons/portal/security
parent95d5ff7332344ce5d263acede7ede714b2a7eb9d (diff)
[IMP] portal: replace model 'res.portal' by 'res.groups' where field 'is_portal' is True
bzr revid: rco@openerp.com-20120914144633-z3xpe7392egz3640
Diffstat (limited to 'addons/portal/security')
-rw-r--r--addons/portal/security/portal_security.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/portal/security/portal_security.xml b/addons/portal/security/portal_security.xml
index 0bf4cb2dcfc..3d5cf47b0be 100644
--- a/addons/portal/security/portal_security.xml
+++ b/addons/portal/security/portal_security.xml
@@ -6,7 +6,9 @@
<record id="group_portal" model="res.groups">
<field name="name">Portal</field>
<field name="comment">Portal members can access information through the portal menu. Also, they are chrooted in this specific menu.</field>
- <!-- Don't use any implied_ids here; this group's behavior is particular -->
+ <field name="is_portal" eval="True"/>
+ <!-- Insert the template user from auth_signup in the portal members group -->
+ <field name="users" eval="[(4,ref('auth_signup.default_template_user'))]"/>
</record>
</data>