Specifying user-defined authority

This topic provides information about specifying user-defined authorities.

The Object Authority column on the Edit Object Authority display allows you to specify any of the system-defined sets of authorities (*ALL, *CHANGE, *USE, *EXCLUDE). If you want to specify authority that is not a system-defined set, use F11 (Display detail).

Note: If the User options (USROPT) field in your user profile is set to *EXPERT, you always see this detailed version of the display without having to press F11.

For example, PGMR1 removes *OBJEXIST authority to the CONTRACTS file, to prevent accidentally deleting the file. Because PGMR1 has a combination of authorities that is not one of the system-defined sets, the system puts USER DEF (user-defined) in the Object Authority column:

 
                            Edit Object Authority
 
Object . . . . . . :   CONTRACTS   Owner  . . . . . . . :   PGMR1
  Library. . . . . :   TESTLIB     Primary group  . . . :   *NONE
Object type. . . . :   *FILE       ASP device . . . . . :   *SYSBAS
 
Type changes to current authorities, press Enter.
 
  Object secured by authorization list. . . . . . . . . . :   LIST2
 
                        Object          ----------Object-----------
User        Group       Authority  Opr  Mgt  Exist  Alter  Ref
*PUBLIC                 *AUTL
PGMR1                   USER DEF    X    X            X     X
 

You can press F11 (Display data authorities) to view or change the data authorities:

 
                            Edit Object Authority

 Object . . . . . . :   CONTRACTS   Owner  . . . . . . . :   PGMR1
  Library . . . . . :   TESTLIB     Primary group  . . . :   *NONE
 Object type. . . . :   *FIL        ASP device . . . . . :   *SYSBAS
 
Type changes to current authorities, press Enter.
 
 Object secured by authorization list. . . . . . . . . :   LIST2
 
                        Object    ---------------Data---------------
User        Group       Authority  Read  Add  Update  Delete  Execute
*PUBLIC                 *AUTL
PGMR1                   USER DEF    X     X     X       X        X