What happens if I GRANT priveleges (for example SELECT) ON a table TO some group role? What privileges will the table's elements have in this case: indexes, sequences, columns? Should I explicitly GRANT privileges to them if I REVOKE ALL ON SCHEMA public FROM GROUP role and FROM PUBLIC previously?
|
|
||||
|
|
migrated from stackoverflow.com Nov 29 '12 at 10:36
|
Sequences are separate objects with separate privileges.
Indexes belong to the table. To Columns go with table privileges. Granting privileges on the table grants applicable privileges to all columns automatically. For DDL commands ( Since PostgreSQL 9.1 there are column level DML-grants additionally. But:
More details in the manual about |
|||||||||||
|