REVOKE (model)
Revokes model privileges from users and roles.
Revokes model privileges from users and roles.
Syntax
REVOKE [ GRANT OPTION FOR ] { privilege[,...] | ALL [ PRIVILEGES ] }
ON MODEL [[database.]schema.]model-name [,...]
FROM grantee[,...]
[ CASCADE ]
Parameters
GRANT OPTION FORRevokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, OpenText™ Analytics Database revokes both the grant option and current privileges.
USAGE- One of the following privileges:
ALL [PRIVILEGES]- Revokes all model privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
The optional keyword
PRIVILEGESconforms with the SQL standard. [database.]schemaDatabase and schema. The default schema is
public. If you specify a database, it must be the current database.model-name- Name of the target model.
-
grantee Whose privileges are revoked, one of the following:
CASCADERevoke privileges from users who received them from the grantee through
WITH GRANT OPTION.
Privileges
Non-superuser, one of the following:
-
Ownership
-
GRANT OPTION on the object
Examples
Revoke user Fred's USAGE privilege on model mySvmClassModel:
=> REVOKE USAGE ON mySvmClassModel FROM Fred;