Re: Swarm: Link authorization

2008-05-16 Thread Andrea Jahn
The DataPermission solution works :) Thanks Andrea *Von:* users@wicket.apache.org *Gesendet:* 15.05.08 16:06:54 *An:* users@wicket.apache.org *Betreff:* Re: Swarm: Link authorization Yes there are other solutions :) In this case you would use a DataPermission. Something like permission

Swarm: Link authorization

2008-05-15 Thread Andrea Jahn
Hi, for every item in a table there's a delete link, which should be only visible for certain users. ProductAreaListPage.html: - tr wicket:id=productAreaTable class=list tdspan wicket:id=id[id]/span/td tdspan wicket:id=name[name]/span/td tdspan

Re: Swarm: Link authorization

2008-05-15 Thread Maurice Marrink
Yes there are other solutions :) In this case you would use a DataPermission. Something like permission ${DataPermission} delete_product, enable; coupled with a DatasecurityCheck on your links like so: setSecurityCheck(new DataSecurityCheck(delete_product)); will do the trick. Maurice On Thu,