[Zope3-dev] how-to stop permission propagation to sublocations
Adam Groszer
agroszer at gmail.com
Thu Aug 23 02:31:50 EDT 2007
Hello Christian,
Thanks, tried that. The problem is when new users "arrive", they get
ModifyContent permission in the site root. Now I shall add a
subscriber for the new_user event or denying ModifyContent from
Authenticated users should be enough? I am still a bit puzzled.
Thursday, August 23, 2007, 7:12:12 AM, you wrote:
> Am Mittwoch, den 22.08.2007, 21:00 +0200 schrieb Adam Groszer:
>> Hello,
>>
>> Is there a sane way to stop permission propagation to sublocations?
>> Let's say I have a site, and somewhere below there is a folder as a
>> trashcan, unneeded objects get moved to here. Users must not modify
>> objects in the trash. Users usually will get ModifyContent permission
>> at the site level.
>> The easiest way seems to stop propagation of the permission
>> ModifyContent at the trashcan level. But how? Anybody done something
>> like this already?
> Permissions can be set to 'yes' or 'no' or be 'unset'. Using those three
> states in combination with the default 'propagation' should give you
> what you want. If you set 'ModifyContent' to 'No' on the trash and the
> content's permission is not explicitly set then that should fit your
> situation.
> Christian
--
Best regards,
Adam mailto:agroszer at gmail.com
More information about the Zope3-dev
mailing list