| From: | Stephen Frost <sfrost(at)snowman(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [PATCHES] Roles - SET ROLE Updated |
| Date: | 2005-07-26 16:52:11 |
| Message-ID: | 20050726165211.GM24207@ns.snowman.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> I've committed changes to add a "rolinherit" flag to pg_authid as per
> discussion. The pg_has_role function now distinguishes USAGE rights
> on a role (do you currently have the privileges of that role) from
> MEMBER rights (do you have the ability to SET ROLE to that role).
Great, thanks.
> A couple of loose ends remain:
>
> * Should is_admin_of_role pay attention to rolinherit? I suspect it
> should but can't quite face going through the SQL spec again to be sure.
> This only affects the right to GRANT role membership to someone else.
>
> * The information_schema needs another pass to see which pg_has_role
> usages ought to be testing USAGE instead of MEMBER. I think most of
> them should, but in and around applicable_roles and enabled_roles
> some more thought and spec-reading is needed.
I'll look into what the spec says for these, hopefully anoncvs is
working now...
> I'm planning on doing some documentation work next, and was hoping
> someone else would look at the above items.
Will do. I'll be using the SQL2003 draft. Should be able to run these
down later today.
Thanks,
Stephen
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jim C. Nasby | 2005-07-26 19:11:13 | Re: More buildfarm stuff |
| Previous Message | Tom Lane | 2005-07-26 16:44:57 | Re: [PATCHES] Roles - SET ROLE Updated |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rocco Altier | 2005-07-26 17:25:59 | Re: Proposed patch to remove .so pattern rules from platform Makefiles |
| Previous Message | Tom Lane | 2005-07-26 16:44:57 | Re: [PATCHES] Roles - SET ROLE Updated |