you can put user on session, and use this information as an filter to queries than fill the lists on your application models...
On Tue, Oct 20, 2009 at 6:14 PM, Roman Ilin <[email protected]> wrote: > Hi *, > > I develop WebApplication where database records belong to different > organizations. > I use AjaxFallbackDefaultDataTable to present tabular data. User from > some organization is allowed to see his organization data only. > To reach this I implement custom IDataProvider for every table. > > Is there some way to have generic IDataProvider which constraints > shown data rows. > Pagination and sorting, filtering of data should work as well :) > > I have the same problem with DropDownChoice. There choices depend on > logged in user/organization. > > I read Wicket Security Wasp/Swarm tutorials but haven't found this > functionality there. > You can have secure model but you can't restrict list of models. > > Or I'm wrong? > > > Regards > > Roman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Pedro Henrique Oliveira dos Santos
