17.10 - Working with Precedence of Clauses - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
zuy1472246340572

The system enforces the rules in a GRANT LOGON or REVOKE LOGON statement according to the host group and user ID clauses in the statement. More specific clauses contained in a current GRANT or REVOKE statement take precedence over any more general clauses from a previous GRANT or REVOKE statement, for example:

GRANT LOGON ON ALL TO Adam

is superseded by limitation on host ID HGID2:

REVOKE LOGON ON HGID2

if user Adam is assigned to host group HGID2.