Re: Error with REST users/username=X

2013-03-04 Thread Francesco Chicchiriccò
On 04/03/2013 14:21, Colm O hEigeartaigh wrote: Hi Francesco, Just looking at this logic again in UserDataBinder... SetLong roleIds = user.getRoleIds(); SetLong adminRoleIds = EntitlementUtil.getRoleIds(EntitlementUtil.getOwnedEntitlementNames()); roleIds.removeAll(adminRoleIds); In

Error with REST users/username=X

2013-02-27 Thread Colm O hEigeartaigh
As per the discussions on SYNCOPE-324, I'm reading a user (from the new API) via: users?username=X I am authenticating using the User's username/password and not the admin user/password. I get an exception in the logs: org.apache.syncope.core.rest.controller.UnauthorizedRoleException: Missing

Re: Error with REST users/username=X

2013-02-27 Thread Francesco Chicchiriccò
On 27/02/2013 16:10, Colm O hEigeartaigh wrote: As per the discussions on SYNCOPE-324, I'm reading a user (from the new API) via: users?username=X I am authenticating using the User's username/password and not the admin user/password. I get an exception in the logs: