From: | Craig James <cjames(at)emolecules(dot)com> |
---|---|
To: | Rural Hunter <ruralhunter(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Grant tables cascade to sequence? |
Date: | 2013-03-29 16:51:22 |
Message-ID: | CAFwQ8rchp4FYCdbHOGz4iHDpc81zBaDR-wu8CaH6W0aN1LEvtg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, Mar 28, 2013 at 10:56 PM, Rural Hunter <ruralhunter(at)gmail(dot)com>wrote:
> Hi,
>
> I encounter the same issue often: Granted update/insert to an user but
> forgot to grant it on the related sequence. It's hard to understand that an
> user has write access on table but not on necessary sequences. I think the
> grant on tables should cascade to related sequences. What do you think?
>
Wouldn't it make more sense for the grant on the table to fail with an
appropriate error message? That would solve your problem, and it wouldn't
be making security assumptions. Cascading permissions seems like a recipe
for trouble.
Craig
From | Date | Subject | |
---|---|---|---|
Next Message | JotaComm | 2013-04-01 18:19:46 | Problems with Streaming Replication and PostgreSQL 9.2.2 |
Previous Message | Albe Laurenz | 2013-03-29 11:07:33 | Re: Grant tables cascade to sequence? |