Types of Privileges | Database Administration | Teradata VantageCloud Lake - Types of Privileges - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

You can explicitly grant database privileges to users, roles, or databases. Users also gain other privileges without a formal grant. Before you decide which privileges to explicitly grant, make sure you understand the privileges users receive by other means.

Privilege Description
Implicit Privileges
Ownership Users who own permanent space have implicit (ownership) privileges on any object contained in the space they own, even if another user created the object.
You can transfer ownership using the GIVE statement.
Explicit privileges
Automatic When a user creates a database object, Database Engine 20 automatically grants privileges to:
  • The creator of the object
  • A newly created user or database
GRANT You can grant privileges:
  • Directly to a user or database
  • To a role, then GRANT membership in the role to one or more users
  • To an external role, then map the external role to one or more groups of directory users
Inherited Privileges that a user acquires indirectly.
  • All users inherit the privileges of the system-generated user, PUBLIC, a role-like collection of privileges available by default. You can grant additional privileges to PUBLIC.
  • A user inherits all the privileges granted to each role of which the user is a member.
  • Directory users inherit the privileges of the database users and external roles to which they are mapped.

Some privileges cannot be acquired by indirect means and must be explicitly granted to a user, database, or role. For information, see Privileges.

The system logs automatic and explicit privileges in the same way. The way the privileges were acquired are indistinguishable. All privileges except implicit privileges are stored in the data dictionary in the DBC.AccessRights table, by each user.