Commit Graph

6 Commits

Author SHA1 Message Date
Sean Chittenden
d92a3caedf Before revoking a privilege from a schema, check to ensure role exists. 2016-12-25 06:13:34 -08:00
Sean Chittenden
6c91676c40 Comment out the role that gets dropped before the schema's policies are
applied.

This is only a problem when the ROLE is removed before the revokation of
the schema's policies on the doomed PostgreSQL ROLE.  Comment out the
tests for now to get unit tests to pass.  Using hard-coded values that
exist outside of the Terraform unit test work.
2016-12-25 06:13:34 -08:00
Sean Chittenden
38928b91ba Update the postgresql_schema resource to accept policies.
It is now possible to begin specifying DCL for schemas.
2016-12-25 06:13:33 -08:00
Sean Chittenden
de6dcbd8cd Add the owner attribute to the postgresql_schema resource. 2016-12-25 06:13:32 -08:00
Sean Chittenden
56a193f228 Dept of second thoughts: remove authorization support before 0.8
releases.

When postgresql_schema_policy lands this attribute should be removed in
order to provide a single way of accomplishing setting permissions on
schema objects.
2016-12-13 10:28:06 -08:00
Sean Chittenden
d1c9ebb6c2 Add PostgreSQL schema support 2016-12-12 13:11:47 -08:00