Re: Re: Hard problem with sub-workspace...

Patrick Gelin <[email protected]> Fri, 10 Oct 2003 20:35:35 +0200
Newsgroups gmane.comp.web.zope.plone.educational
Organization Gelinux
Message-ID <[email protected]>
Hello kamon,

It's fine to get some news from you :-)

> Hello Patrick,
> 
> It can be done thought it needs care thinking and a lot of security
> related settings.
> 
>>> snip...
>>
>> No it's not a solution, there is some problems...
>>
>> 1. If you want to create an event just for your group, you have to
>> create an event of type MyGroupOnlyEvent, because object's workflow
>> don't care about their folder privacy...
> 
> You do it within the folder workflow itself, with a state which is
> something like "InternalVisible" or "ClassOnlyVisible". The idea is that
> when the reviewer moves the content to this state, only those people that
> have the required local role (for instance, ClassMember) will have the
> needed access. But again, it is not easy. It needs a good comprehension of
> the workflow and a lot of playing with the "Permissions" tab that is on
> the workflow state.
> 

Yes, you are write. I just finished a hard coaching day with 4teamworks and
I think we successed to create sub-workspaces with locals roles. Just one
thing, you can't use locals roles with nested workspaces because of
"principe d'acquisition". For our prototype I don't care, I think flat
workspace is a good solution...

>> 2. If there is more than one user which is owner of a Plone folder you
>> will get hard problem because anyone can delete objetcs of each others
>> and two or more owner can edit a same document at the same time...
> 
> If you don't want this side effect, you need to add a user-defined role
> "ClassMember" for exemple, and define its permissions yourself. basically
> you can take the permissions of Owner minus the "Delete objects" one.
> 
> Hope this helps.
> 
Yes, I'm looking for a solution to permit users to delete only their own
objects. I tried to modify "delete object" for workspace_folder_workflow
and worspace_workflow but at this time it's not working...

-- 
Patrick GELIN
rue du Beau-Site, 3
CH-2300 La Chaux-de-Fonds
Tél: +41 (0)32 / 913 41 48



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php