pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgresql  \z  grant question
5+ messages / 4 participants
[nested] [flat]

* Postgresql  \z  grant question
@ 2001-03-06 17:11 hicham bouzdad <h.bouzdad@inovaction.com>
  2001-03-07 19:37 ` Re: Postgresql  \z  grant question bangh <banghe@baileylink.net>
  2001-03-07 20:37 ` Re: Postgresql \z grant question Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 2 replies; 5+ messages in thread

From: hicham bouzdad @ 2001-03-06 17:11 UTC (permalink / raw)
  To: pgsql-admin

Hello everyone,

in Postgresql  RDBMS ,
how can i  get   informations   about    acces  permissions on existing objects
?

I alredy know that     (  psql  \z )        do  this ;
but     'w'   means    update OR  delete  !      (it's not the  same thing)


can someone  , please, tell me if  it is possible  ?

thanks a lot




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql  \z  grant question
  2001-03-06 17:11 Postgresql  \z  grant question hicham bouzdad <h.bouzdad@inovaction.com>
@ 2001-03-07 19:37 ` bangh <banghe@baileylink.net>
  1 sibling, 0 replies; 5+ messages in thread

From: bangh @ 2001-03-07 19:37 UTC (permalink / raw)
  To: hicham bouzdad <h.bouzdad@inovaction.com>; +Cc: pgsql-admin

What do you mean
 'w'   means    update OR  delete  !      (it's not the  same thing)
?

Do you want to know if somebody only could access (select)?

If he has "r", he has select access on that object.

Access information certaintly includes all (select, alter, update, insert, delete).

---
Banghe

hicham bouzdad wrote:

> Hello everyone,
>
> in Postgresql  RDBMS ,
> how can i  get   informations   about    acces  permissions on existing objects
> ?
>
> I alredy know that     (  psql  \z )        do  this ;
> but     'w'   means    update OR  delete  !      (it's not the  same thing)
>
> can someone  , please, tell me if  it is possible  ?
>
> thanks a lot
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql \z grant question
  2001-03-06 17:11 Postgresql  \z  grant question hicham bouzdad <h.bouzdad@inovaction.com>
@ 2001-03-07 20:37 ` Oliver Elphick <olly@lfix.co.uk>
  2001-03-08 10:18   ` Postgresql \z grant question hicham bouzdad <h.bouzdad@inovaction.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Oliver Elphick @ 2001-03-07 20:37 UTC (permalink / raw)
  To: hicham bouzdad <h.bouzdad@inovaction.com>; +Cc: pgsql-admin

hicham bouzdad wrote:
  >Hello everyone,
  >
  >in Postgresql  RDBMS ,
  >how can i  get   informations   about    acces  permissions on existing obje
      >cts
  >?
  >
  >I alredy know that     (  psql  \z )        do  this ;
  >but     'w'   means    update OR  delete  !      (it's not the  same thing)

PostgreSQL access permissions are not yet as extensive as the full SQL
spec requires.

w includes UPDATE and DELETE; there is no finer-grained permission
available.



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Postgresql \z grant question
  2001-03-06 17:11 Postgresql  \z  grant question hicham bouzdad <h.bouzdad@inovaction.com>
  2001-03-07 20:37 ` Re: Postgresql \z grant question Oliver Elphick <olly@lfix.co.uk>
@ 2001-03-08 10:18   ` hicham bouzdad <h.bouzdad@inovaction.com>
  2001-03-13 00:16     ` Re: Postgresql \z grant question Alfonso Peniche <alfonso@iteso.mx>
  0 siblings, 1 reply; 5+ messages in thread

From: hicham bouzdad @ 2001-03-08 10:18 UTC (permalink / raw)
  To: pgsql-admin

Hi everyone,  and thanks a lot ,

> PostgreSQL access permissions are not yet as extensive as the full SQL
> spec requires.

> 'w' includes UPDATE and DELETE;
>  there is no finer-grained permission  available.


if i do  on   (PostgreSQL 7.1beta4 ) :
      GRANT  UPDATE ON  tabl TO  user;

user can  do  on  tabl  :
      UPDATE,  but also   DELETE and  INSERT  !


my question is :
     can i bypass this  limitation ?






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql \z grant question
  2001-03-06 17:11 Postgresql  \z  grant question hicham bouzdad <h.bouzdad@inovaction.com>
  2001-03-07 20:37 ` Re: Postgresql \z grant question Oliver Elphick <olly@lfix.co.uk>
  2001-03-08 10:18   ` Postgresql \z grant question hicham bouzdad <h.bouzdad@inovaction.com>
@ 2001-03-13 00:16     ` Alfonso Peniche <alfonso@iteso.mx>
  0 siblings, 0 replies; 5+ messages in thread

From: Alfonso Peniche @ 2001-03-13 00:16 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

I believe the only thing you can do is revoke the INSERT permission (after
granting UPDATE), but I don think you can revoke the DELETE permission
since is the same flag as UPDATE.


hicham bouzdad wrote:

> Hi everyone,  and thanks a lot ,
>
> > PostgreSQL access permissions are not yet as extensive as the full SQL
> > spec requires.
>
> > 'w' includes UPDATE and DELETE;
> >  there is no finer-grained permission  available.
>
> if i do  on   (PostgreSQL 7.1beta4 ) :
>       GRANT  UPDATE ON  tabl TO  user;
>
> user can  do  on  tabl  :
>       UPDATE,  but also   DELETE and  INSERT  !
>
> my question is :
>      can i bypass this  limitation ?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2001-03-13 00:16 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-06 17:11 Postgresql  \z  grant question hicham bouzdad <h.bouzdad@inovaction.com>
2001-03-07 19:37 ` bangh <banghe@baileylink.net>
2001-03-07 20:37 ` Re: Postgresql \z grant question Oliver Elphick <olly@lfix.co.uk>
2001-03-08 10:18   ` Postgresql \z grant question hicham bouzdad <h.bouzdad@inovaction.com>
2001-03-13 00:16     ` Re: Postgresql \z grant question Alfonso Peniche <alfonso@iteso.mx>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox