10387 Posts in 2198 Topics by 1712 members
|Go to End|
6 July 2009 at 2:05am
thanks to Sam, I'm now able to associate DataObjects to Subsites and share these DataObjects between the various subsites. However, I'm stuck with permissions and would appreciate some help as to what code should go where and how CMS permissions (groups) should be set up:
I have 'newsitems' as subsite-aware dataobjects (with dataobjectdecorator). Newsitems are related to many 'newscollections', with every subsite having it's own newscollection. The idea is that a newscollection can display newsitems belonging to its own subsite as well as selectively pull in newsitems from the global pool of news from all other subsites. However, subsite editors should be allowed to edit and delete only those newsitems that belong to their subsite, so that in a dataobjectmanager instance, they can still see all available newsitems from all subsites, but only get "edit" and "delete" buttons for their own ones. I've tried to implement canDelete() and canEdit, but up to now didn't get this to work and am confused where these should go exactly.... thanks!
20 August 2010 at 12:52am
some problem here.
you found a solution? long time ago?
|Go to Top|