[IMP] portal_anonymous

add anonymous to the portal group. When both portal and anonymous are
installed, anonymous user can see the public subset of the portal menu.

bzr revid: al@openerp.com-20121205234140-qkcpthzx5f337n3x
This commit is contained in:
Antony Lesuisse 2012-12-06 00:41:40 +01:00
parent 9a0c4b115d
commit b18b12d1cd
3 changed files with 22 additions and 0 deletions

View File

View File

@ -0,0 +1,14 @@
{
'name': 'Anonymous portal',
'description': """
Allow anonymous to Access Portal.
=================================
""",
'author': 'OpenERP SA',
'version': '1.0',
'category': 'Hidden',
'website': 'http://www.openerp.com',
'installable': True,
'depends': ['portal', 'auth_anonymous'],
'data': ['portal_anonymous.xml'],
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="auth_anonymous.anonymous_user" model="res.users">
<field name="groups_id" eval="[(4,ref('portal.group_portal'))]"/>
</record>
</data>
</openerp>