Disable GIT Projects in Harvest
search cancel

Disable GIT Projects in Harvest

book

Article ID: 253849

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

How can we disable the creation of GIT projects? We don't want our users to use Harvest for Git, we have other applications for that.

Environment

Harvest Software Change Manager v14.x
with Oracle database

Resolution

The following database trigger will resolve the problem.

CREATE OR REPLACE TRIGGER HARBLOCKGITENV BEFORE INSERT ON HARGITENVIRONMENT FOR EACH ROW BEGIN    RAISE_APPLICATION_ERROR( -20448 , 'Creation of GIT projects is not permitted.' );END;