Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Permission Denied Error when commiting a file Server Side

Here is description 
    try {
        scmService.batchCommit(workspaceHandle, new ICommitParameter[]{commitParam}, IScmService.DELTA_PER_INVOCATION, null, null);
    } catch (TeamRepositoryException e) {
        writeErrorResponse(resp, "Error committing changes: " + e.getMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
        e.printStackTrace();
        return;
    }
6BPqzdK2dW_MVaP_ZewLLPoV50WyAm7N0GQ0mu4fQH8 is content Hash 

SEVERE: A dependency on "com.ibm.team.scm.web.ui.internal.view.editor.CodeReviewSubmitWizard" could not be resolved
com.ibm.team.repository.common.PermissionDeniedException: CRRTC5039E: User TestJazzAdmin1 is not allowed to access content 6BPqzdK2dW_MVaP_ZewLLPoV50WyAm7N0GQ0mu4fQH8
at com.ibm.team.scm.service.internal.content.VersionedContentService.validateUploadedContentBatch(VersionedContentService.java:4566)
at com.ibm.team.scm.service.internal.content.VersionedContentService.validateNewlyUploadedContent(VersionedContentService.java:4506)
at com.ibm.team.scm.service.internal.content.VersionedContentService.checkAndFinalizeContentReferences(VersionedContentService.java:4460)
at com.ibm.team.scm.service.internal.ScmServiceInternal.internalSaveVersionables(ScmServiceInternal.java:1883)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.saveVersionables(CommitOperation.java:824)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.initializeSaves(CommitOperation.java:2119)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.initialize(CommitOperation.java:1076)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.run(CommitOperation.java:376)
at com.ibm.team.scm.service.internal.operations.commit.BatchCommitOperation.run(BatchCommitOperation.java:132)
at com.ibm.team.scm.service.internal.ScmService$25.run(ScmService.java:1350)
at com.ibm.team.scm.service.internal.AbstractScmService$6.run(AbstractScmService.java:1055)
at com.ibm.team.scm.service.internal.AbstractScmService$RespositoryRunnableWithRetry.run(AbstractScmService.java:242)
at com.ibm.team.scm.service.internal.AbstractScmService$AbstractRespositoryRunnableWithRetry.run(AbstractScmService.java:160)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:628)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$3.run(RepositoryDatabase.java:408)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:531)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy188.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:405)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:342)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:143)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.a  

How to solve this exception and i have given jazzadmin privilages to user 

0 votes


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943
× 7,496
× 1,326

Question asked: Nov 11 '24, 3:30 a.m.

Question was seen: 188 times

Last updated: Nov 11 '24, 3:30 a.m.

Confirmation Cancel Confirm