[web2py] Re: Setting default groups for app
Thanks for your answer. I'll probably go for option 2). I suppose models are run only once upon startup? -- Antti On Aug 25, 5:10 pm, mdipierro wrote: > You have two options: > 1) create a scrpt and run it manually once > > web2py.py -S yourapp -M -N -R script.py > > 2) u
[web2py] Setting default groups for app
Hi, What's the best practice in adding default groups and permissions for apps? Should I write a script which would add groups and permissions if they do not exist? And how to trigger it? cheers, Antti