CL Command Reference - CRTAUTL

CL Command List > CRTAUTL Reference

Description:

The Create Authorization List (CRTAUTL) command creates an authorization list. Authorization lists are used to give a set of users specific authorities to an object or a set of objects. Each user has the authorities to all of the objects. When an authorization list is granted authority to an object, the users on the list get authority to the object. The authorities they receive are those specified for them in the authorization list.

A user¡¯s authority on an authorization list can be overridden by granting the user specific authority to the object. Specific authorities override the user¡¯s authority specified in the authorization list. Specific authorities override the user¡¯s group authority, if both are specified.

If public authority specified for the object is *AUTL, then the public authority specified on the authorization list is used.

Restrictions:

. Authorization lists cannot be used to secure user profiles or other authorization lists.

. Only one authorization list can be used to secure an object.


Examples:

CRTAUTL AUTL(PROGMR) AUT(*CHANGE)
TEXT(¡¯Programmers authorization list¡¯)

This command creates an authorization list (PROGMR). If an object whose authority comes from the authorization list has specified USER(*PUBLIC) as AUT(*AUTL), the users who do not have specific authority and whose group does not have specific authority to the object are given *CHANGE authority for the object secured by this authorization list.