Re: Authorization Selectbox

2013-04-29 Thread Martin Grigorov
Hi,

Apache Wicket cookbook by Igor has very good chapter about this topic.
In short you should look
at org.apache.wicket.authorization.IAuthorizationStrategy#isActionAuthorized()


On Mon, Apr 29, 2013 at 9:59 AM, christoph.ma...@t-systems.com wrote:

 Hello,

 there is a selectbox in my webapp , where the user can select an action
 like resubmit or change state. In Addition there are different
 userroles in my webapp. I want that userrole standard only can see change
 state in this selectbox and the userrole admin should see resubmit  and
 change state. How can I realize this?


 Mit freundlichen Grüßen
 Christoph Manig
 Systems Engineer

 T-Systems International GmbH
 Systems Integration - SC Travel, Transport  Logistics
 Hoyerswerdaer Str. 18
 01099 Dresden
 tel.:   +49 (0) 351 / 8152 - 188
 fax:+49 (0) 351 / 8152 - 209
 email:  christoph.ma...@t-systems.com






-- 
Martin Grigorov
Wicket Training  Consulting
http://jWeekend.com http://jweekend.com/


Authorization Selectbox

2013-04-29 Thread Christoph.Manig
Hello,

there is a selectbox in my webapp , where the user can select an action like 
resubmit or change state. In Addition there are different userroles in my 
webapp. I want that userrole standard only can see change state in this 
selectbox and the userrole admin should see resubmit  and change state. How 
can I realize this?


Mit freundlichen Grüßen
Christoph Manig
Systems Engineer

T-Systems International GmbH
Systems Integration - SC Travel, Transport  Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.:   +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 - 209
email:  christoph.ma...@t-systems.com