Issue 291 in syncope: Resource tab exception if the user has not the correct entitlements

8 views
Skip to first unread message

syn...@googlecode.com

unread,
Feb 14, 2012, 11:26:00 AM2/14/12
to synco...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Source-trunk Component-UI
Release-Espressivo-1.0

New issue 291 by mdisabat...@gmail.com: Resource tab exception if the user
has not the correct entitlements
http://code.google.com/p/syncope/issues/detail?id=291

What steps will reproduce the problem?
1. Create a role with this entitlements:
WORK_FLOW_CLAIM,
WORK_FLOW_READ
WORK_FLOW_SUBMIT
WORK_FLOW_LIST
USER_REQUEST_LIST

2. Assign role to an user.
3. Login with the user in the console.
4. Go to Resource tab

What is the expected output?
List of resource

What do you see instead?
Error

17:00:58.945 WARN org.springframework.web.client.RestTemplate - GET
request
for "http://localhost:8080/syncope/rest/connector/list.json?lang=en"
resulted in 403 (Forbidden); invoking error handler
17:00:58.992 WARN org.springframework.web.client.RestTemplate - GET
request
for "http://localhost:8080/syncope/rest/connector/list.json?lang=en"
resulted in 403 (Forbidden); invoking error handler
17:00:58.994 ERROR org.syncope.console.SyncopeRequestCycleListener -
Exception found
org.apache.wicket.WicketRuntimeException: Error attaching this container
for rendering: [WebMarkupContainer [Component id = body]]
at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1797)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.onBeforeRender(Component.java:3774)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.internalBeforeRender(Component.java:981)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.beforeRender(Component.java:1015)
~[wicket-core-1.5.3.jar:1.5.3]
at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.onBeforeRender(Component.java:3774)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.internalBeforeRender(Component.java:981)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.beforeRender(Component.java:1015)
~[wicket-core-1.5.3.jar:1.5.3]
at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.onBeforeRender(Component.java:3774)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.internalBeforeRender(Component.java:981)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.beforeRender(Component.java:1015)
~[wicket-core-1.5.3.jar:1.5.3]
at
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.onBeforeRender(Component.java:3774)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Page.onBeforeRender(Page.java:823)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.internalBeforeRender(Component.java:981)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.beforeRender(Component.java:1015)
~[wicket-core-1.5.3.jar:1.5.3]
at
org.apache.wicket.Component.internalPrepareForRender(Component.java:2184)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Page.internalPrepareForRender(Page.java:280)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Component.render(Component.java:2271)
~[wicket-core-1.5.3.jar:1.5.3]
at org.apache.wicket.Page.renderPage(Page.java:1035)
~[wicket-core-1.5.3.jar:1.5.3]

To invoke connector/list.json, the role need CONNECTOR_LIST entitlement.


syn...@googlecode.com

unread,
Feb 15, 2012, 7:14:12 AM2/15/12
to synco...@googlegroups.com
Updates:
Status: Started
Owner: chicchir...@gmail.com

Comment #1 on issue 291 by chicchir...@gmail.com: Resource tab exception if

the user has not the correct entitlements
http://code.google.com/p/syncope/issues/detail?id=291

(No comment was entered for this change.)

syn...@googlecode.com

unread,
Feb 15, 2012, 9:20:13 AM2/15/12
to synco...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 291 by chicchir...@gmail.com: Resource tab exception if

the user has not the correct entitlements
http://code.google.com/p/syncope/issues/detail?id=291

This issue was closed by revision r1461.

Reply all
Reply to author
Forward
0 new messages