Syntax
Grant database privileges to a user.SELECT privilege can be assigned and revoked.
Grant source privileges to a user.
Parameters
Grant privileges on future objects
To grant privileges that apply automatically to future objects created by a user, use theALTER DEFAULT PRIVILEGES command. It sets default privileges without manually granting permissions for each new object.
Example
Grant all privileges for all sources inschema1 to user user1.
schema1.mv1 to user user1. user1 is able to grant the SELECT privilege to other users.
s1 to user user1.