Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 974 Bytes

deny.rst

File metadata and controls

46 lines (31 loc) · 974 Bytes

DENY

Denies privilege to an existing user on the whole cluster or on a specific object.

Table of contents

DENY { { DQL | DML | DDL | AL [,...] } | ALL [ PRIVILEGES ] }
[ON {SCHEMA | TABLE} identifier [, ...]]
TO user_name [, ...];

DENY is a management statement to deny one or many privileges on a specific object to one or many existing users.

ON {SCHEMA | TABLE} is optional, if not specified the privilege will be denied on the CLUSTER level.

For usage of the DENY statement see :ref:`administration-privileges`.

identifier:

The identifier of the corresponding object.

If TABLE is specified the identifier should include the table's full qualified name. Otherwise the table will be looked up in the current schema.

user_name:

The name of an existing user.