I suggest that you create in the appropriate place a class named Default which inherits from VelocitySecureScreen. If Turbine is not able to find a screen class for your templates, it will then apply the Default class.
Hello, I'm trying to determine the best design for implementing the following, and would appreciate any thoughts any of you have for similar situations:
I have multiple turbine sites, some accessible to anyone who finds it, others will require different levels of access. For instance
- http://site/web/servlet/web/index.vm is a public accessible site
- http://site/web/servlet/web/site2,index.vm is a public accessible site
- http://site/web/servlet/web/admin,index.vm is only for administrators
- http://site/web/servlet/web/staff,index.vm is an intranet only for staff
For many templates on each of these sites, I don't require Screen Classes...
so my question is has anyone encountered this & come up with a clever design
(or is there one I just don't know about) for implementing an isAuthorized
check based on turbine context without creating screen classes that extend
velocitySecureScreen for each template?
Any thoughts or suggestions will be appreciated!
-d
Hope this helps
Frédéric
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]