Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k475m-0007vy-90 for pgsql-general@arkaria.postgresql.org; Fri, 07 Aug 2020 18:27:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k475k-0007sH-VG for pgsql-general@arkaria.postgresql.org; Fri, 07 Aug 2020 18:27:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k475k-0007s9-Nk for pgsql-general@lists.postgresql.org; Fri, 07 Aug 2020 18:27:44 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k475h-0007NY-Rr for pgsql-general@lists.postgresql.org; Fri, 07 Aug 2020 18:27:43 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8F824632; Fri, 7 Aug 2020 14:27:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 07 Aug 2020 14:27:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=N L3oAV6T1PsImXvaarz1E8h7RhDlDCtRwnr1T3oR/c0=; b=lw7ewfEUiIfH/+VNt 4Rwo3fQsoSDskfqpXcPA6PaMtspVohj5FRJ6uF9JtB4SrJSLlTNQJCdel8xKJe3n 9ISDvKHFwRO+RmHqwFdulNKceaMPBVVG+Do2AgK8EQPEMBhfnHoKdYQpHM3lPjWp Ob1HmKQKIsmX0Fv38qi/xrVuFnRYjCnQSXb5jeu2VNHqQYp5hcNY2cLiBowRQH/A KlyM9MA0xy84ASQHWYVIFwnDCWyxPP+azkfHFHvK5ISnZyNG9QIOADMO9fcJvspO WhZ54yRH68b55Yezw1cgQhaFKXlmfN8xUMWRVkOHW9kHIm6Qf2amvXuxgirpv11y k4y/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=NL3oAV6T1PsImXvaarz1E8h7RhDlDCtRwnr1T3oR/ c0=; b=hU1ZriN9mgcPh8aPEcghki4d1p9paNoilLCgiwcziVdlyb2quR6oYcwN7 J5vNbtT3bMvVqlVG4cT/OnQCTVmJIS5VIb26Bi1Uwd2LbbEdWhq4ntLFzXe7gg+P Z/CJzPcNfYqdfd/tyhSGUMJIP4ha56kAjPY3ZBCDRbq3kIZEhUYNt09EEU+PiUDx rKhu8ETucLAmm9tF1UynkPVkh+HReHczfpk36F527GBWZ/b2b6HTpjTJREEVxljB 3HDbvnhJ2Q7BfSPp5JFlKl2j+EhxXif2rARD85JVQPmVZ/c+R3AKFG1qoUR1n6Rj QBnjAd6nU9xMIN27TBZ7ysnr6uTKg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrkedvgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BB7B328005E; Fri, 7 Aug 2020 14:27:38 -0400 (EDT) Subject: Re: privileges oddity To: Scott Ribe Cc: PostgreSQL General References: <20200806185329.GC29590@tamriel.snowman.net> <75f2f28c-9121-c3d0-0c9a-f9b16ef337fb@aklaver.com> <3DF00E97-6D2F-4329-AA0E-9CC2CCD41A8E@elevated-dev.com> <1ceb2a2f-50a0-ef7c-1849-6fa75dd61d64@aklaver.com> <5AA78DA8-746A-4407-AC00-B1463451CAD0@elevated-dev.com> From: Adrian Klaver Message-ID: <7efe4d40-5f8d-f3bb-45ff-fd00f3beba84@aklaver.com> Date: Fri, 7 Aug 2020 11:27:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <5AA78DA8-746A-4407-AC00-B1463451CAD0@elevated-dev.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/7/20 11:25 AM, Scott Ribe wrote: >> On Aug 7, 2020, at 12:17 PM, Adrian Klaver wrote: >> >> Well if this for the same line as before it represents table privileges. The problem is with schema access. Continuing grasping at straws: >> >> select * from pg_roles where rolname = 'aakanzler'; > > rolname | rolsuper | rolinherit | rolcreaterole | rolcreatedb | rolcanlogin | rolreplication | rolconnlimit | rolpassword | rolvaliduntil | rolbypassrls | rolconfig | oid > ----------+----------+------------+---------------+-------------+-------------+----------------+--------------+-------------+---------------+--------------+-------------------------------+------- > akanzler | f | t | f | f | t | f | -1 | ******** | | f | {role=confidential_read_only} | 16391 > So what privileges does role 'confidential_read_only' have? -- Adrian Klaver adrian.klaver@aklaver.com