New issue 293 by mdisabat...@gmail.com: Role tab exception if the user has
not the correct entitlements
http://code.google.com/p/syncope/issues/detail?id=293
What steps will reproduce the problem?
1. Create a role with this entitlements:
WORKFLOW_FORM_CLAIM,
WORKFLOW_FORM_READ
WORKFLOW_FORM_SUBMIT
WORKFLOW_FORM_LIST
2. Create an user and assign the role.
3. Login with the user.
4. Go to tab roles.
5. Click on a role.
What is the expected output?
If user does not have permission to read the roles, Syncope must display an
empty panel.
For read an role an user need ROLE_READ entitlement.
What do you see instead?
Error
11:53:28.472 WARN org.springframework.web.client.RestTemplate - GET
request for "http://localhost:9080/syncope/rest/role/read/1.json" resulted
in 403 (Forbidden); invoking error handler
11:53:28.474 ERROR org.syncope.console.SyncopeRequestCycleListener -
Exception found
org.apache.wicket.WicketRuntimeException: Method onRequest of interface
org.apache.wicket.behavior.IBehaviorListener targeted at
org.apache.wicket.ajax.markup.html.AjaxLink$1@5ab7f23f on component [
[Component id = contentLink]] threw an exception
at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:270)
~[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
~[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255)
~[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
~[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781)
~[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
~[wicket-request-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
[wicket-core-1.5.4.jar:1.5.4]
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
[wicket-core-1.5.4.jar:1.5.4]
Comment #1 on issue 293 by mdisabat...@gmail.com: Role tab exception if the
user has not the correct entitlements
http://code.google.com/p/syncope/issues/detail?id=293
(No comment was entered for this change.)