Monday 09 May 2005 10:38:21 am
As usual, first I will outline my situation and then will write my question. For example, I create a folder in "Content structure" tab and call it - "Widgets". Then I open Setup -> Classes and create a content class naming it, say, "Widget". This class has the following attributes:
Att1: [TextLine] - Title Att2: [Textfield] - TextBody (actually I need much more fields but it doesn't matter right now) Then I create a new section called "Widget section" and added a few objects (of "Widget" content class) in the folder "Widgets". When I clear the caches and renew the site I see that there is a new section in the menu. That's nice. But I want some specific functionality for that section. So this is my question: can I set user/role policies so that every guest user that logging into the site could only see those widgets that I assign to him/her? For instance, I have two users registered with my site - George Bush and Vladimir Putin. :) Via the admin area I created three widgets in the folder "Widgets":
-widget1
-widget2 -widget3 And somehow I assigned the first two to George Bush and the last one - to V.Putin. So, when G.Bush logs in and click "Widgets" menu tab he sees only the first two widgets. The same is with V.Putin - he cannot see Bush's widgets, but only his own. I tried to enter new attribute for the widget class - it is called "Object relation" and selected Guest users folder. But I don't know what to do further.
Thanks, -Marat
|