Basic User Authorizations for running a job
search cancel

Basic User Authorizations for running a job

book

Article ID: 230170

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation Automic SaaS

Issue/Introduction

This article covers what basic Authorizations are needed at minimum for a user who needs to run a single job.

Setting up a user for the first time, there may be some errors that show up if the user just has execute access to the job (Here called JOBS.EXAMPLE):

U00011181 No execute access right for login object 'LOGIN.EXAMPLE' in Job 'JOBS.EXAMPLE' (RunID '0001041045').
U00010032 Runtime error in object 'JOBS.EXAMPLE' line '00007': Access to include 'TRAILER.WINDOWS' denied.
U00010032 Runtime error in object 'HEADER.WINDOWS' line '00010': Access to include 'ATTRDIA.WINDOWS' denied.
U00010032 Runtime error in object 'JOBS.EXAMPLE' line '00005': Access to include 'HEADER.WINDOWS' denied

If PREP_PROCESS commands are being used, there may also be an error like:

U00004506 Access violation: User: 'USER/DEPT' Object: 'EVENT.WINCMD' Access: 'X' Reason: No right found in authorization group '1'.

Environment

Release : 12.x, 21.0, 24

Component : AUTOMATION ENGINE

Resolution

There are a few base objects where execute authorizations are required in order to run jobs.  For Windows jobs those will be:

HEADER.WINDOWS
TRAILER.WINDOWS
ATTRDIA.WINDOWS

These are includes that are stored in Client 0 and are used system-wide.  Users will also need execute access to the LOGIN object the Job uses as well.  Here is an example for a user who has basic access to the folder \EXAMPLE\FOLDER and JOBS.EXAMPLE which uses LOGIN.EXAMPLE:

For UNIX or LINUX jobs, the objects would be:
HEADER.UNIX
ATTRDIA.UNIX
TRAILER.UNIX

For PREP_PROCESS command, the EVENT.[CMD NAME] of type JOBS must be added to the user authorizations to have execute as well.  The command name will be something from those listed in the documentation:

Additional Information

More information on user authorizations can be found here:

https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/latest/Automic%20Automation%20Guides/Content/AWA/Objects/obj_AuthPage.htm?Highlight=obj_AuthPage

A list of headers and trailers for each type of job can be found here:

https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/latest/Automic%20Automation%20Guides/Content/AWA/Objects/obj_include.htm?Highlight=obj_JobUsingIncludes