[Flow] Pimping flows Security Framework
Christian Loock
chl at vkf-renzel.de
Wed Apr 2 14:22:56 CEST 2014
Hello everybody,
for a project I am working on, I need to somewhat make advanced usage of
Flow's Security Framework:
What I need is basically Roles, that are dependant on Client and Language.
A Client is an entity assigned to a User. I need to create a mask, where
you can assign roles to a user, dependent on the Client he is working on.
Example:
I have a controller , lets call it StandardController and there are two
Clients: Germany and Netherlands.
Now I want my user to be able to call StandardController only when he is
working in the Client Germany, but not for Netherlands. However, he
might be able to call another Controller in the Client Netherlands. He
can switch between Clients via a dropdown selection.
I created a model that basically stores an association between Client
and Role. Now what I need is, to set the User Roles based on the client
he is working on.
Has anybody else done something like this before and any good tips on
how to approach such a problem?
--
Cheers,
Christian
More information about the Flow
mailing list