how about the performance difference between using single database or
multiple database? did you consider about it?

On Sat, Apr 30, 2011 at 7:51 PM, annet <[email protected]> wrote:

> > @A  I think your standardized groups will simplify things. However,
> > there is then some sacrifice of fine-tuning permissions.
>
> You're right. In my case I am working on a network of networks app.
> Since permissions are based on functions I was able to cluster
> functions into plans. To fine tune permissions I defined a table
> 'function' which has a company_id and Boolean fields for every single
> function. In the controller, response.plan_menu holds the menu items
> which reference the plan's functions, after login, I query the
> 'function' table for the company's functions which I set in
> session.functions. In the view  I generate the menu base on
> response.plan_menu and session.functions.
>
>
> I am not sure, but I think in case of a single database, the data
> model is easier to maintain.
>
>
> Kind regards,
>
> Annet.
>

Reply via email to