From: Chris W. <ch...@cw...> - 2003-04-29 11:18:01
|
Nick Sutterer wrote: > just a thought: would it be possible and ok to replace the "SPOPS::Secure" > string in the object configuration ISA property with a very own security > class like "DNT::Security", which is again a SPOPS::Secure subclass *and* > implements the 4 necessary security methods like global_user_current? > > my idea is to let DNT::Security decide which security system to use: it > could provide the 4 sec methods in different ways, or could deactivate the > security system at all, according to configuration of the DNT::Security > class. > > what do you think about it? Sounds great! It should be fairly amenable to subclassing since SPOPS::Secure::Hierarchy is a subclass of SPOPS::Secure. SPOPS::Secure itself could use some cleanup in terms of interface and naming (e.g., why is there check_action_security(), check_security() and get_security()? ack!), so if you have any ideas speak up. Later, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |