Permissions on tab for the web client

Bug #274306 reported by Open Net Sàrl
4
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Committed
Undecided
Christophe Simonis (OpenERP)
Odoo Web Client
New
Undecided
Unassigned

Bug Description

This is still not working

Install OpenERP server on revision 1203 (server) and 1952 (web client)

Create a new DB

The user admin is not a member of group_extended

In res.partner.form type this

                      <page groups="base.group_extended" string="History">
                            <field groups="base.group_extended" colspan="4" name="events" nolabel="1" widget="one2many_list"/>
                        </page>
In GTK client, it's OK
In web client (ff 3) I see the page tag (not the field tag)

Using on openobject-server on revision 1127 I have a problem with permissions to menu and pages in XML views.

It was working till 3 days ago

Right now, in XML views, instruction such as
<page groups="base.group_extended" string="Packaging"> are ignored while instructions such as
<field groups="base.group_extended" name="product_manager" select="2"/> are taken into account.

For the menu, As soon as a menu is linked to a group, the menu is not available for all groups.

In short a menu without permissions is seen by all, a menu with a group based permission is viewed by none (except the admin).

Related to http://openerp.com/forum/topic7727.html

The part linked to the menu permission is now OK

The part linked to the permissions on tab is not.

Having this code
     <page groups="base.group_extended" string="Administration">
     <field groups="base.group_extended" name="ons_email_paypal" widget="email" />
A user not member of base.group_extended will not see the field but will see the tab 'Administration'.

Using the revision 676 of the gtk client it's OK
Using the revision 1930 of the web client it's not OK (the 'Administration' tab is shown)

Same as https://bugs.launchpad.net/openobject-client-web/+bug/286209

description: updated
description: updated
Changed in openobject-server:
assignee: nobody → christophe-simonis
description: updated
Changed in openobject-server:
status: New → Fix Committed
description: updated
Changed in openobject-server:
status: Fix Committed → New
Revision history for this message
Open Net Sàrl (openerp-open-net) wrote :

Works now on GTK, not yet on web client

description: updated
description: updated
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

Why didn't you create several bug reports ?
There are 2 bugs here: menu permissions and <page> permissions

Changed in openobject-server:
status: New → Fix Committed
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.