[HACKERS] Ignore tablespace ACLs when ignoring schema ACLs - Mailing list pgsql-hackers

From Noah Misch
Subject [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs
Date
Msg-id 20170205000621.GA822663@tornado.leadboat.com
Whole thread Raw
Responses Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs
List pgsql-hackers
DefineIndex() has a check_rights argument that determines whether to perform a
namespace ACL check.  When ALTER TABLE ALTER TYPE rebuilds an index, it sets
that flag.  The theory goes that use of DROP INDEX and CREATE INDEX is a mere
implementation detail of ALTER TABLE ALTER TYPE; the operation is logically like
an alteration of the existing index.  I think the same treatment should extend
to the tablespace ACL check, as attached.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: [HACKERS] Variable name typo in launcher.c
Next
From: Rod Taylor
Date:
Subject: Re: [HACKERS] PoC: Make it possible to disallow WHERE-less UPDATE and DELETE