1.4 Privilege Management with Workspace Manager
Workspace Manager provides a set of privileges that are separate from standard Oracle AI Database privileges.
Workspace Manager workspace-level privileges (with names in the form xxx_WORKSPACE) allow the user to affect a specified workspace, and system-level privileges (with names in the form xxx_ANY_WORKSPACE) allow the user to affect any workspace.
Table 1-5 lists the Workspace Manager privileges.
Table 1-5 Workspace Manager Privileges
Privilege | Description |
---|---|
|
Allows the user to go to a specified workspace. |
|
Allows the user to go to any workspace. |
|
Allows the user to create a child workspace in a specified workspace. |
|
Allows the user to create a child workspace in any workspace. |
|
Allows the user to freeze and unfreeze a specified workspace. |
|
Allows the user to freeze and unfreeze any workspace. |
|
Allows the user to grant privileges on the workspace to other users. |
|
Allows the user to grant privileges on any workspace to other users. |
|
Allows the user to merge the changes in a specified workspace to its parent workspace. |
|
Allows the user to merge the changes in any workspace to its parent workspace. |
|
Allows the user to remove a specified workspace. |
|
Allows the user to remove any workspace. |
|
Allows the user to roll back the changes in a specified workspace. |
|
Allows the user to roll back the changes in any workspace. |
|
Provides the user with all Workspace Manager-related privileges with the grant option. |
Each privilege can be granted with or without the grant option. The grant option allows the user to which the privilege is granted to grant the privilege to other users.
The WM_ADMIN
system privilege has all Workspace Manager privileges with the grant option. By default, the WM_ADMIN
system privilege is granted to WM_ADMIN_ROLE
. This role is in turn granted to the database administrator (DBA
role). Thus, after you decide which users should be granted which privileges, either have the DBA grant the privileges, or have the DBA grant the WM_ADMIN_ROLE
role to one or more selected users and have these users grant the privileges.
The GrantWorkspacePriv and GrantSystemPriv procedures are used to grant workspace-level privileges and system-level privileges, respectively.
The RevokeWorkspacePriv and RevokeSystemPriv procedures are used to revoke workspace-level privileges and system-level privileges, respectively. These procedures require that the user have sufficient privilege to revoke the specified privilege from the specified user. The user that granted a privilege can revoke it.
Parent topic: Introduction to Workspace Manager