summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-09-14 15:41:16 +0200
committerRaphael Collet <rco@openerp.com>2012-09-14 15:41:16 +0200
commitbe03938f47cd835674f3cecd23792d7934604278 (patch)
tree904f4856cd4ed1516fc84b665b53f4e5bec2c1b6 /addons
parentca4326bbd1e3c7c9afd4415931ce6194f376495b (diff)
[FIX] portal: move group definition of portal back to security/portal_security.xml
bzr revid: rco@openerp.com-20120914134116-sg2yqsro8c62bxg2
Diffstat (limited to 'addons')
-rw-r--r--addons/portal/portal_data.xml6
-rw-r--r--addons/portal/security/portal_security.xml13
2 files changed, 13 insertions, 6 deletions
diff --git a/addons/portal/portal_data.xml b/addons/portal/portal_data.xml
index 42447afdfd5..eb06ca656d6 100644
--- a/addons/portal/portal_data.xml
+++ b/addons/portal/portal_data.xml
@@ -2,12 +2,6 @@
<openerp>
<data noupdate="1">
- <!-- Don't use any implied_ids here; this group's behavior is particular -->
- <record id="group_portal_member" model="res.groups">
- <field name="name">Portal Member</field>
- <field name="comment">Portal members can access information through the portal menu. Also, they are chrooted in this specific menu.</field>
- </record>
-
<record id="portal" model="res.portal">
<field name="name">Portal</field>
<field name="group_id" ref="group_portal_member"/>
diff --git a/addons/portal/security/portal_security.xml b/addons/portal/security/portal_security.xml
new file mode 100644
index 00000000000..9a71b9b181f
--- /dev/null
+++ b/addons/portal/security/portal_security.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <!-- The portal group -->
+ <record id="group_portal_member" 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 -->
+ </record>
+
+ </data>
+</openerp>