Hi there,

I have the same requirements as Sergey Belov. 
Indeed I have an application with on one hand a database containing all the 
users, and on the other hand one database per company for the data.
I need to find a way to automatie the process of deploying a new 
application, and thought that the Bundle could be the solution.
I could have one bundle per customer like MyApp/Customer3585Bundle, and in 
that bundle I could have the entities corresponding to the client. We need 
to define the database access corresponding to the user as to dynamically 
load the data database.
The problem is that we have no access to the database until the Kernel's 
boot has finished, but then we are to late for registering our bundles 
according to the logged in user.

Is there a way to retrieve some user infos, maybe from the session, before 
kernels boot ?

Le jeudi 8 décembre 2011 10:08:35 UTC+1, Lukas Kahwe Smith a écrit :
>
>
> On Dec 7, 2011, at 11:33 , Sergey Belov wrote:
>
> > I need register set of bundles based on user role is it possible?
>
> not out of the box and trying to add this will be non trivial and in most 
> cases not necessary. can you explain your use case?
>
> regards,
> Lukas Kahwe Smith
> [email protected] <javascript:>
>
>

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en


Reply via email to