Description
namespace_path is cached in each psql session and the cache invalidation is triggered by Grant/Revoke SQL.
When enable_ranger, Grant/Revoke SQL is no longer use, so the cache prevent a ack-check request sending.
Example:
// create table t(i int); => failed [{""resource"":{""database"":""postgres"",""schema"":""pg_catalog""},""privileges"":[""usage""],""allowed"":true}] [{""resource"":{""database"":""postgres"",""schema"":""pg_catalog""},""privileges"":[""usage""],""allowed"":true}] [{""resource"":{""database"":""postgres"",""schema"":""public""},""privileges"":[""usage""],""allowed"":false}] // grant usage and create permissions to public schema in ranger and try again => failed again [{""resource"":{""database"":""postgres"",""schema"":""pg_catalog""},""privileges"":[""usage""],""allowed"":true}] [{""resource"":{""database"":""postgres"",""schema"":""pg_catalog""},""privileges"":[""usage""],""allowed"":true}] // why not send a request for USAGE??
Attachments
Issue Links
- duplicates
-
HAWQ-1238 Can not get any data when the network is connected again after a while disconnected.
- Closed
- links to