[Opensource] Best practices request on adding ControllerSecurity rows

Thompson, Kris kris.thompson at seurat.com
Wed Jan 15 07:01:20 PST 2003


I'm wondering what would we suggest as being a best practice or simply what are options for adding controller security rows of the controllers that we create.

Currently DBObjects have the ability to have a call the method DBObjects.populateDefaultValues() which we define in there what the default values are, but nothing like that exist for Controllers and them adding defaultvalues into the controllersecurity table.  The DBTool currently is the place holder for populating the expresso only default values for Expresso's controllers like the LoginController, RegitrationController, bla bla.  

As I see it here are my options

1. Extend DBTool and add my rows as they had done (not recommend)
2. Investigate it the DBTool import works and try placing them in a XML file for import.
3. Use the Schema.populateSchemaData() ??? Not sure what this method was intended for. (I like this... maybe)
4. Modify DBController to have a method like the DBObject to populate security.  (I like this)
5. Do it manually outside of Expresso 


Thanks

Kris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030115/112707b7/attachment-0002.htm


More information about the Opensource mailing list