Initialization of Version Control fails with permission error
search cancel

Initialization of Version Control fails with permission error

book

Article ID: 144849

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After going through the configuration steps in the documentation the initialization fails:

https://docs.automic.com/documentation/webhelp/english/AA/24.0/DOCU/24.0/Automic%20Automation%20Guides/Content/AWA/Versioning/Versioning.htm

Version Control is accessible but after choosing "Create New Branch" and entering a new branch name, the following error is displayed in a popup:

User has not sufficient permissions to initialize the repository

Environment

Release : v21 and higher

Component: Automic Web Interface (AWI)

Cause

This happens when the user has no Write access to an object.

Even if you are an Admin user with all authorizations and permissions, you don't have access to objects having Object Authorizations set. These are authorizations set on the object level. 

Possibly, the object that causes this is a Private Dashboard but can be any other object.

 

Resolution

You can find the object with Object Authorization with the following query:

select OH_name from OH,OACL where OACL_OH_Idnr=OH_idnr

There are 2 ways to proceed:

  1. Open the objects listed and go to 'General > Object Authorizations' and remove all the lines (after talking to the owner)
  2. Add the objects you don't have access to the client variable UC_VERSIONCONTROL_EXCLUDE.
    UC_VERSIONCONTROL_EXCLUDE is automatically created when you first access the Version Control window.