Nonstop Database, HiRDB Version 9 Description

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

9.1.1 User privileges

This section explains the user privileges that are set up by HiRDB. The following figure 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:

(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.

(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:

(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 the following table.

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.