authlessanonymous & provider commands (user preferences?)
Hi,
I have a question about the desktop for authlessanonymous.
When not logged in to the portal (i.e. being user authlessanonymous) and I click on a provider command, e.g. minimize channel, then I get a serious desktop error before the channel gets actually minimized. Is this normal behaviour?
It seems normal to me that the providercommands (minimize, maximize, detach,close,...) or some kind of "user preferences". Since authlessanonymous user is actually "a user account everyone uses", we cannot really speak of user preferences. So it would be normal behaviour to not have those buttons in the channel frame, I think. Except perhaps the help button.
So I better modify my jsp files (providercommands.jsp or so) and not show those buttons there.
Or am I wrong?
[809 byte] By [
timvissers] at [2007-11-25 21:30:35]

# 1
What I meant by this is clear in the following example:
My friend goes to the portal desktop and does not log in. He maximizes the login channel using the maximize button (which is one of the provider commands).
After that I go to the portal desktop and I see that the login channel is maximized. This is not what I want.
Conclusion: For the user authlessanonymous a 'user preference' is kept at the server side. This is very weird I think. I would think that for authlessanonymous no serverside preferences should be kept.
Conclusion 2: The only way to get rid of this behaviour is to remove the provider commands from the frame for anonymous access to the portal.
Am I thinking right?
Greets,
Tim
# 2
What you describe is correct. The desktop for the authlessanonymous user should be read only. The way to configure this is to remove all of the links for "content" ,"layout", "theme", etc. Also, remove all minimize, maximize, detach, restore, etc. buttons from the frames of the channels. This can be done by setting the minimizable, maximizable, etc. properties for all of the channles for the authlessanonymous user.
Notice that this is already preconfigured for the authlessanonymous desktop when you install the sample portal. There is a display profile and a custom desktop type that are assigned to the authlessanonymous user. These handle the settings that I mention above. If you add more channels to the authlessanonymous desktop, then they must be added in the same manner as other channels so that the editing capabilities are not accessible.
- Jim