[Zope] Deleted role and user's assigned role behavior.

StefanH.Holek StefanH.Holek
Sat, 22 Mar 2003 21:35:55 +0100

I'd say it's a feature, allthough a feature one should be aware of. ;-)

Note that the security machinery is not confused by this but will=20
always compute the proper intersections. Note also that the same issues=20=

are present wrt local roles! Local role mappings do not go away just=20
because you delete the role.


On Samstag, M=E4r 22, 2003, at 06:20 Europe/Vienna, Felipe Barousse Bou=E9=

> Now, the question is:  Is this a bug or a feature ?  I would have
> expected Zope, either to:
> 1.- Do not allow role deletions if there are users with that role
> assigned.
> or
> 2.- Delete the role with no further questions and delete all=20
> assignments
> to any and all users that have that role assigned at role deletion=20
> time.
> or
> 3.- A more complex combination of validations.....