Does someone have any fresh idea?
On Tue, Oct 20, 2009 at 10:32 PM, Roman Ilin <[email protected]> wrote: > My components should stay visible all time. But data should be > filtered by customer currently logged in. > > > > On Tue, Oct 20, 2009 at 10:29 PM, Pedro Santos <[email protected]> wrote: >> I had application with components that override the isVisible method testing >> for >> >> return session.getUser().hasAccessFor(this) >> >> but the major access logic is implemented on data access layer >> >> On Tue, Oct 20, 2009 at 6:26 PM, Pedro Santos <[email protected]> wrote: >> >>> every time for every component >>> why not for every query? >>> >>> >>> >>> On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin <[email protected]> wrote: >>> >>>> Sure I save my user in session. >>>> The problem is that I have to implement this filter functionality >>>> every time for every component. >>>> >>>> >>>> >>>> On Tue, Oct 20, 2009 at 10:18 PM, Pedro Santos <[email protected]> >>>> wrote: >>>> > 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 >>>> > >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> >>> -- >>> Pedro Henrique Oliveira dos Santos >>> >> >> >> >> -- >> Pedro Henrique Oliveira dos Santos >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
