Added element to bitbucket then sync up b/w endevor using Endevor Bridge for Git, received the following error message.
//
// APIMSGS - url: /reports/1666628856-5798562111536598-APIMSGS
//
1CA Endevor SCM Version 18.1.00 Copyright (C) 1986-2019 Broadcom. All Rights Reserved. 24OCT22 12:27:37 PAGE 1
E N D E V O R A P I E X E C U T I O N R E P O R T
12:27:37 API0101I BEGINNING OF API ACTION PROCESSING
API0100I
API0100I ADD ELEMENT:
API0100I 'TEST0010'
API0100I MESSAGE DDNAME: APIMSGS
API0100I FROM DIR:
API0100I 'via Zowe CLI command'
API0100I FILE:
API0100I 'tempfile'
API0100I FROM DDNAME: **DYNM**
API0100I TO ENVIRONMENT: environ
API0100I SYSTEM: system
API0100I SUBSYSTEM: subsys
API0100I TYPE: COBOL
API0100I OPTIONS
API0100I CCID: ########
API0100I COMMENT: AddElement
API0100I BYPASS GENERATE PROCESSOR: N
API0100I
API0100I API ACTION REQUEST DATA SUCCESSFULLY PRINTED
API0100I
12:27:37 C1Y0015I STARTING PARSE OF REQUEST CARDS
STATEMENT #1
12:27:37 C1Y0016I REQUEST CARDS SUCCESSFULLY PARSED
12:27:37 C1G0202I ACTION #1 / STMT #1
12:27:37 C1G0203I ADD ELEMENT TEST0010
12:27:37 C1G0221I FROM DIR: via Zowe CLI command
12:27:37 C1G0221I FROM FILE: tempfile
12:27:37 C1G0204I TO ENVIRONMENT: environ SYSTEM: system SUBSYSTEM: subsys TYPE: COBOL STAGE ID: U
12:27:37 C1G0232I OPTIONS: CCID: ########
12:27:37 C1G0232I COMMENT: ADDELEMENT
12:27:37 C1E0107I USER ######## RESTRICTED FROM FUNC ADD RESOURCE F4.environ.system.subsys.ADD
12:27:37 C1E0105E A SECURITY VIOLATION HAS OCCURRED. ACTION DENIED.
12:27:37 C1G0200I ELEMENT ACTION REQUEST PROCESSING COMPLETED, HIGHEST ENDEVOR RC WAS 0012
Release : 18.1
Turn on the ESI trace in WSEWSSTC JCL, recycle Tomcat.
//EN$TRESI DD SYSOUT=*
Reproduce the issue, and have site Endevor or security administrator view the security violation written to the security violation log to determine the reason for the violation.
In this case, user does not have access to resource named F4.environ.system.subsys.ADD