Safeguard Administrator's Manual (G06.24+, H06.03+)

Table Of Contents
OBJECTTYPE Control
Safeguard Administrator’s Manual523317-013
5-3
Controlling an Entire Object Type
An OBJECTTYPE authorization record can have only two access authorities:
Controlling an Entire Object Type
Normally, only super-group users can add authorization records for volumes, devices,
and subdevices. However, all users can add authorization records for disk files that
they own as well as authorization records for any subvolumes, processes, or
subprocesses.
If you want to change who has authority to add objects of a certain type, add the object
type to the Safeguard database. Then create an access control list that gives CREATE
authority to specific users.
After you add an object type to the Safeguard database, you can give ownership of the
OBJECTTYPE authorization record to someone else by changing the OWNER
attribute. Like other objects, OBJECTTYPE authorization records can only be changed
by the primary owner, the primary owner's group manager, the super ID, or a user who
has owner authority on the access control list.
The OBJECTTYPE command restricts who can use SAFECOM to create protection
records for a given type of object. For example, an OBJECTTYPE DISKFILE
authorization record restricts who can use SAFECOM to create disk-file authorization
records. However, OBJECTTYPE DISKFILE does not affect any default protection
specified for a user's disk files. That is, the Safeguard software automatically creates
these protection records regardless of the access control list associated with the
OBJECTTYPE DISKFILE authorization record.
The following sample procedure shows how to add an object type to the Safeguard
database with a simple access control list. In this case, only group 12 is given authority
to add individual device names to the Safeguard database. After the access control list
is created, ownership of the authorization record is transferred to user ID 12,8.
1. Create an authorization record for OBJECTTYPE DEVICE with an access control
list that grants CREATE authority to all users who have group 12 as their
administrative group:
=ADD OBJECTTYPE DEVICE, ACCESS 12,* C
CREATE The authority to add individual authorization records for that type of
object
OWNER The authority to modify the OBJECTTYPE record
Note. Users with CREATE authority on an OBJECTTYPE access control list can add any
object of that type regardless of the object's ownership. For example, a user with CREATE
authority on OBJECTTYPE DISKFILE can create authorization records for any user's files that
are not already protected by the Safeguard software. Normally, users can add only their own
files. Therefore, you should not add an object type to the Safeguard database unless you are
sure you do not want to use the standard Safeguard restrictions.