Re: Unlocking a resource

2018-03-15 Thread Robert Munteanu
Hi Roy, On Wed, 2018-03-14 at 13:01 +0100, Roy Teeuwen wrote: > Hey all, > > I am trying to unlock a resource in a job that needs to modify the > resource or subresources, but since upgrading to service resource > resolvers this doesn't seem to be supported anymore. When doing the > following cod

Re: Unlocking a resource

2018-03-15 Thread Roy Teeuwen
Hey Robert, I have tried adding the service user to the "administrators" group, and that didn't fix. So that probably means that the following code means that it has to be exactly the "admin" user? if (a != null && !a.isGroup()) { return ((User) a).isAdmin(); } I guess there is no alt