<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=627312110-02102006></SPAN><FONT 
face=Tahoma><FONT size=2>H<SPAN class=627312110-02102006>i 
Humber,</SPAN></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <P class=MsoNormal><SPAN lang=EN-US>Hi Seasiders! I have a little question 
  about a way <SPAN>&nbsp;</SPAN>to do some authentication in Seaside. I looked 
  the configuration page and I found an Auth decoration. I give it a try but it 
  gave me ´an all or nothing´ solution. To access the whole application I have 
  to enter the user name and password just like the Seaside 
  configuration.</SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US>I need to give some access to, for 
  example, an admin user type and restrict others (student users). Lets say the 
  application needs to have three types of users. Admins with all the 
  privileges, students with some privileges but restrict others, and a normal 
  user as a simple viewer (he/she can't change a thing).</SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US>Is there a recipe or some guidelines to 
  make this in a simple and elegant way, perhaps with decoration I think? I´m a 
  little lost here.<SPAN class=627312110-02102006><FONT face=Arial color=#0000ff 
  size=2>&nbsp;</FONT></SPAN></SPAN></P></BLOCKQUOTE>
<P class=MsoNormal dir=ltr><SPAN lang=EN-US><SPAN class=627312110-02102006><FONT 
face=Arial color=#0000ff size=2>We have done that by subclassing the root 
component. The root component is for the admin user. One of the subclass is for 
the teachers, another subclass for the students, etc. This allows us to provide 
differences in behavior for different user types.</FONT></SPAN></SPAN></P>
<P class=MsoNormal dir=ltr><SPAN lang=EN-US><SPAN class=627312110-02102006><FONT 
face=Arial color=#0000ff size=2>HTH</FONT></SPAN></SPAN></P>
<P class=MsoNormal dir=ltr><SPAN lang=EN-US><SPAN class=627312110-02102006><FONT 
face=Arial color=#0000ff size=2>Michel.</FONT></SPAN></SPAN></P></BODY></HTML>