Scalable Database Server, HiRDB Version 8 Description

[Contents][Glossary][Index][Back][Next]

9.1.1 User privileges

This section explains the user privileges that are set up by HiRDB. Figure 9-1 shows the HiRDB user privileges.

Figure 9-1 HiRDB user privileges

[Figure]

These HiRDB user privileges are granted to various users, such as HiRDB administrators, DBA privilege holders, and schema owners.

Privileges granted to HiRDB administrators
The administrator's own DBA privilege, audit privilege, and RDAREA usage privilege

Privileges granted to DBA privilege holders
DBA privilege, schema definition privilege, RDAREA usage privilege, and CONNECT privilege

Privilege granted to schema owners
Access privilege
Organization of this subsection
(1) DBA privilege
(2) Audit privilege
(3) CONNECT privilege
(4) Schema definition privilege
(5) RDAREA usage privilege
(6) Access privileges

(1) DBA privilege

The DBA privilege is required in order to grant and revoke DBA privileges, CONNECT privileges, and schema definition privileges. It permits the following actions:

1 Operation that can be performed when using HiRDB External Data Access. For details about HiRDB External Data Access, see HiRDB External Data Access Version 8.

2 The CONNECT privilege is not needed to use the Directory Server linkage facility. For details about the Directory Server linkage facility, see Section 2.3 Linkage to directory server products.

(2) Audit privilege

This privilege is required for auditors. This privilege allows a user to perform the following actions:

To use the security audit facility, you need to set the audit privilege. For details about the security audit facility, see 9.2 Security audit facility.

(3) CONNECT privilege

The CONNECT privilege is required in order to use HiRDB. This privilege permits a user to connect to the database. An attempt to connect to the database by a user who does not have the CONNECT privilege results in an error.

Using the Hitachi Directory Server linkage facility
When user information (user ID and password) is registered into the Directory Server, the CONNECT privilege is granted to the user. For details about the Directory Server linkage facility, see Section 2.3 Linkage to directory server products.

(4) Schema definition privilege

The schema definition privilege is required in order to define a schema. This privilege permits a user to take the following actions:

* Operation that can be performed when using HiRDB External Data Access. For details about HiRDB External Data Access, see HiRDB External Data Access Version 8.

(5) RDAREA usage privilege

The RDAREA usage privilege is required in order to use an RDAREA. This privilege permits a user to define tables and indexes in the RDAREA to which the privilege applies. An RDAREA for which the RDAREA usage privilege is granted by specifying an authorization identifier is called a private user RDAREA, and an RDAREA for which the RDAREA usage privilege is granted by specifying PUBLIC is called a public user RDAREA.

(6) Access privileges

An access privilege is required in order to access a table. Only those users who have an access privilege are allowed to access a table. Access privileges are set for each table. The types of access privilege are listed in Table 9-1.

Table 9-1 Access privilege types

Access privilege type Explanation
select privilege Allows retrieval (select) of row data from the table.
INSERT privilege Allows addition (INSERT) of row data to the table.
DELETE privilege Allows deletion (DELETE) of row data from the table.
UPDATE privilege Allows updating (UPDATE) of row data in the table.