Re: BUG #18183: Unable to grant similar roles after changing user from No inheritance to Inheritance.

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "riyaz489(dot)rk(at)gmail(dot)com" <riyaz489(dot)rk(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18183: Unable to grant similar roles after changing user from No inheritance to Inheritance.
Date: 2023-11-06 14:11:29
Message-ID: CAKFQuwbYbBJkAkUXDSF8D3WTJNwL=PT8iMR0LhEP=woperae5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Monday, November 6, 2023, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18183
> Logged by: Riyaz Khan
> Email address: riyaz489(dot)rk(at)gmail(dot)com
> PostgreSQL version: 16.0
> Operating system: Windows
> Description:
>
> DB_name = test
>
> I have created a new user 't1' and Now I want to grant all permission of my
> existing user 'test' to this new user 't1'.

As of v16 whether a role inherits the permissions of another role is
controlled by the attributes of the membership grant itself. The role
attribute is now only a default. But I suggest you start writing your
grant commands to explicitly state whether the membership confers inherit
and not rely on the default.

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2023-11-06 14:21:01 Re: BUG #18183: Unable to grant similar roles after changing user from No inheritance to Inheritance.
Previous Message PG Bug reporting form 2023-11-06 12:54:30 BUG #18184: ERROR: wrong varnullingrels (b) (expected (b 3)) for Var 2/2