Permission denied error using synctool
I have set up CQ connector using manual on https://jazz.net/jazzdocs/index.jsp?topic=/com.ibm.team.connector.cq.doc/topics/c_configuring_and_using_the_clearquest_connector.html
But the synctool and the automatical syncronisation are not working. Trying to import the users with the synctool I get the following error: C:\jazz\connectors\gateway>synctool -Dcq.query.users Running SyncTool... Successfully logged into CQ. Trying to login to https://localhost:9443/jazz ... Synching users objects... com.ibm.team.process.common.advice.TeamOperationCanceledException: 'Synchronize with External Objects' failed. Permission denied. Running the gateway and submitting a user in CQ the following error is returned: com.ibm.team.interop.service.managers.clearquest.common.InteropException: com.ib m.team.interop.service.managers.clearquest.common.InteropException: The POST ope ration status was 500; expected 201 at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processC hangeRecord(CQChangeEventProcessor.java:98) The user I use in cqconnector.properties is a super user in CQ and in RTC he is included in all Repository groups and has all possible Process roles. In RTC the jazzuser is able to create users. What have I missed, what permission do I have to set? |
2 answers
You need to define permissions for the "com.ibm.team.interop.server.synchronize" operation in the team-configuration area of your process specification, for some role. The easiest thing to do is define it for the "default" role, since more than one identity needs that permission. So you would have something like this in your process specification:
<team-configuration> <permissions> <role id="default"> <operation id="com.ibm.team.interop.server.synchronize"> <action id="any"/> </operation> ... </role> ... </permissions> ... </team-configuration> John Jazz CQ Connector Team |
Thank you. That helped.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.