← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 274306] Re: Permissions on tab for the web client

 

*** This bug is a duplicate of bug 276902 ***
    https://bugs.launchpad.net/bugs/276902

** Branch unlinked: lp:openobject-client-web

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/274306

Title:
  Permissions on tab for the web client

Status in OpenERP Web Client:
  New
Status in OpenERP Server:
  Fix Committed

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