← Back to team overview

openerp-india team mailing list archive

[Bug 1085012] Re: Removal if an inherited group does not remove users from said group

 

Hello Rolf Wojtech,

I have checked your issue and its not bug but.  
We can not remove user from child groups because in case if we have been added that user manually in child group before  then also it will remove and it will break the functionality (  As u have also noted that if we have been added user in "Seller" group manually then it will also removed when we remove user from "Advance Seller"). 

As per your Comment no #1 : that can be possible solution for future
implementation but at this time this issue is note more than suggestion.

@community: I request to take a look at this and take a appropriate
decision on this.

Thanks,
Turkesh Patel

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1085012

Title:
  Removal if an inherited group does not remove users from said group

Status in OpenERP Server:
  Confirmed

Bug description:
  Suppose we have a user U and groups Seller, AdvancedSeller

  U is only member of AdvancedSeller.

  Now we open the group "AdvancedSeller" and add "Seller" under Inherited Groups.
  This works as expected, U becomes a member of Seller, so adding inheritance influences existing users.

  Now we open the group AdvancedSeller again and remove "Seller" under Inherited Groups.
  With the behaviour from above, I would expect that U gets removed from "Seller"´. However, he remains a seller.

  In conclusion, removing inherited groups from a group does not
  correctly limit the group's rights.

  I think I understand the technical reasons for this: Adding can be
  done no matter the previous state of the User, worst case is he
  already was in the Seller group and the additional add via inheritance
  doesn't hurt.

  However if we want to apply removed inheritance to the user, we face
  the question if he is member of seller ONLY because of the group
  inheritance or he was added there manually before the inheritance was
  introduced.

  I am not sure how to resolve this. Maybe group inheritance is
  inherently wrong and should be replaced by allowing groups to become
  members of groups.

  I get that this is almost a feature request but I believe it is a
  potential security issue that adding permissions works as intended but
  removing permissions on the same way fails without a warning.

  At the very least there should be a warning dialog after removal of an
  inheritance that reminds the user to manually remove the group
  ownership

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1085012/+subscriptions


References