[Opensource] Best practices request on adding
ControllerSecurity rows
larry hamel
expresso at codeguild.com
Wed Jan 15 13:00:09 PST 2003
oh, good idea. 4) sounds good to me too.
larry
At 07:01 AM 1/15/2003, you wrote:
>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
More information about the Opensource
mailing list