[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:
parent
9a0c4b115d
commit
b18b12d1cd
|
@ -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'],
|
||||
}
|
|
@ -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>
|
Loading…
Reference in New Issue