can I suppress inheritence of local roles?
Hi there, when I give a local role to a folder, this local role is inheritet in the subfolders. Can I prevent this? thanks Robert
From: "robert" <robert@redcor.ch>
when I give a local role to a folder, this local role is inheritet in the subfolders. Can I prevent this?
No. Or yes. :-) There is a patch available that lest you do this: http://zope.org/Members/regebro/LRBlacklist Warning, it's quite old and not tested with anything later than Zope 2.3.x. It also is gonna clash with anything else that fiddles with roles, like all types of groups support. //Lennart
Thanks Lennart, it is a pity that zope does not work like that. However since I allredy use an adapted version of NuxUserGrous I want to upgrade to GRUF I rather not use ure approach. I Probably will do it as follows: - No user has a the role Member - There are groups. Goups that are allowed to read a document are assigned to a document when it is published. The Group members get the Member rolle for the document. - I have most of the infrastructure in place and it is used successfully in a large intranet. Its only that use a mixed approach (groups are also assigned to folders) which now bites me. Robert - Every group that is allowed to see a document Am Freitag, 5. Dezember 2003 15:49 schrieb Lennart Regebro:
From: "robert" <robert@redcor.ch>
when I give a local role to a folder, this local role is inheritet in the subfolders. Can I prevent this?
No.
Or yes. :-) There is a patch available that lest you do this: http://zope.org/Members/regebro/LRBlacklist
Warning, it's quite old and not tested with anything later than Zope 2.3.x. It also is gonna clash with anything else that fiddles with roles, like all types of groups support.
//Lennart
-- mit freundlichen GrĂ¼ssen Robert Rottermann www.redCOR.ch
From: "robert" <robert@redcor.ch>
it is a pity that zope does not work like that.
Yes. One of the ideas of the PluggableUserFolder that I have developed is to make the user folder so flexible that several features like this can be build and coexist. It should be possible to write a local roles blacklist plugin for it, and it is indeed on my todo-list (but not this year).
participants (2)
-
Lennart Regebro -
robert