REVOKE (Storage Location)
Revokes privileges on a USER-defined storage location from users and roles. For more information, see Creating Storage Locations in the Administrator's Guide.
If the storage location is dropped, Vertica automatically revokes all privileges on it.
Syntax
REVOKE [ GRANT OPTION FOR ] { privilege[,…] | ALL [ PRIVILEGES ] } ON LOCATION 'path' [ ON node ] FROM grantee[,…] [ CASCADE ]
Parameters
GRANT OPTION FOR
|
Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges. |
privilege |
One of the following privileges:
|
ALL [PRIVILEGES]
|
Revokes all storage location privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack. The optional keyword |
ON LOCATION 'path' [ ON node ]
|
Specifies the path name mount point of the storage location. If qualified by If no node is specified, the revoke operation applies to all nodes on the specified path. All nodes must be on the specified path; otherwise, the entire revoke operation rolls back. |
grantee | Specifies whose privileges are revoked, one of the following: |
CASCADE
|
|
Privileges
Non-superuser, one of the following:
- Owner
- Privileges grantee given the option (
WITH GRANT OPTION
) of revoking privileges from other users or roles.