Skip to main content

Audit Permission Changes

This component captures and compares permission changes in your iOS projects.

The system conducts this check using a reference branch. First, run the pipeline containing this component on the branch you intend to use as a reference. Subsequently, when you run it on the branch you want to check, the system performs the control relative to this selected reference branch. When it detects a change in the project's permissions, Appcircle automatically stops the pipeline to ensure that no significant permission change goes unnoticed.

Prerequisites

Before running the Audit Permission Changes step, you must complete certain prerequisites, as detailed in the table below:

Prerequisite Workflow StepDescription
Git CloneYou need to clone the repository to start the Audit Permission Changes process. After cloning, the system installs CocoaPods. After this step works, the variable AC_REPOSITORY_DIR will be created.
caution

The Audit Permission Changes component will automatically break the pipeline and halt operations if it detects a permission change. If you do not want this to occur, activate the 'Continue with the next step even if this step fails' toggle within the step. This command will allow the pipeline to continue even if the step fails.

Input Variables

You can find all the parameters required for this step in the table below, with their descriptions in detail.

Variable NameDescriptionStatus
$AC_REFERENCE_BRANCHSpecifies the reference branch to check permissions.Required
$AC_REPOSITORY_DIRSpecifies the cloned repository directory. This path will be generated after the Git Clone step.Required
$AC_PROJECT_PATHSpecifies the project path. For example: ./appcircle.xcodeprojRequired

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-ios-permission-check-component: This component compares your permissions of app according to referance branch. If any changes in related branch, user can break down workflow.