wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Authorization Selectbox
Date Mon, 29 Apr 2013 08:15:19 GMT
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.Manig@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.Manig@t-systems.com
>
>
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message