Page 1 of 1

PermissionDeniedException on Java Client

Posted: Thu Mar 24, 2016 1:25 pm
by jharris
Hi,

I'm trying to set up a java client for the first time by following through the examples in the documentation http://documentation.cyclos.org/4.5/cyc ... 03s02.html

However when I try and call the service (e.g. Page<UserWithFieldsVO> users = userService.search(query);) I get a 500 response with the following exception:

org.cyclos.model.access.PermissionDeniedException
org.cyclos.security.users.UserServiceSecurity.checkQuery(UserServiceSecurity.java:207)

I'm fairly sure this is not a credentials issue, I can make the same call to the server through the Scripting API with the same user credentials that I used when creating the HttpServiceFactory

Completely stumped at this point if anyone can shed light on this.