Re: [ADMIN] Permissions to schema

2009-10-27 Thread TiTo®
Mead To: Eduardo Sá dos Reis Cc: pgsql-admin@postgresql.org Sent: Monday, October 26, 2009 10:04 AM Subject: Re: [ADMIN] Permissions to schema 2009/10/26 Eduardo Sá dos Reis eduardor...@pjf.mg.gov.br Hi, I have the structure on Postgre: database: dbGlobal schema1

[ADMIN] Permissions to schema

2009-10-26 Thread Eduardo Sá dos Reis
Hi, I have the structure on Postgre: database: dbGlobal schema1: sch_sist1 owner sch_sist1: john schema2 sch_sist2 owner sch_sist2: mary I' m using pgAdmin III. Is there a way to avoid the mary to access the schema sch_sist1 ? I don't want that mary see/access

Re: [ADMIN] Permissions to schema

2009-10-26 Thread Scott Mead
2009/10/26 Eduardo Sá dos Reis eduardor...@pjf.mg.gov.br Hi, I have the structure on Postgre: *database*: dbGlobal *schema1:* sch_sist1 *owner *sch_sist1: john *schema2 *sch_sist2 *owner *sch_sist2: mary I' m using pgAdmin III. Is there a way to avoid

[ADMIN] permissions on inherited tables

2009-06-17 Thread Anj Adu
I have a bunch of tables which have child table that are partitions (several of them). Is there a way I can create a user with SELECT permissions on the parent without having to individually give the same permission on all child tables ? Every time I create new partitions..I have to explicitly

Re: [ADMIN] permissions on inherited tables

2009-06-17 Thread Scott Marlowe
On Wed, Jun 17, 2009 at 3:55 PM, Anj Adufotogra...@gmail.com wrote: I have a bunch of tables which have child table that are partitions (several of them). Is there a way I can create a user with SELECT permissions on the parent without having to individually give the same permission on all

Re: [ADMIN] permissions on inherited tables

2009-06-17 Thread Tom Lane
Scott Marlowe scott.marl...@gmail.com writes: On Wed, Jun 17, 2009 at 3:55 PM, Anj Adufotogra...@gmail.com wrote: Every time I create new partitions..I have to explicitly grant permissions on the child tables. I use postgres 8.1.9. Is there a plan to fix this in a future release. I believe

[ADMIN] Permissions to a schema

2009-02-03 Thread Campbell, Lance
How do I do the following: 1) Create a user group. 2) Assign access to select, delete, insert, and update to any table found in the following X number of schemas. 3) Assign the newly created user group permissions to a new user. Thanks, Lance Campbell Project

Re: [ADMIN] Permissions to a schema

2009-02-03 Thread Carol Walter
I believe that this is dependent on what version of postgres you are using. What you want to do is create a role. You do this by issuing the CREATE ROLE command... CREATE ROLE select_role; GRANT SELECT on MyTable to select_role; GRANT select_role TO MyUser; Carol On Feb 3, 2009, at

Re: [ADMIN] Permissions to a schema

2009-02-03 Thread Daniel J. Summers
Campbell, Lance wrote: How do I do the following: 1) Create a user group. 2) Assign access to select, delete, insert, and update to any table found in the following X number of schemas. 3) Assign the newly created user group permissions to a new user. When you're going through the tables,

[ADMIN] Permissions Scenerio

2008-09-15 Thread Trent Pingenot
Hello list, I've been a PostGres user for a while, but am just now having to implement some security for a project. The hope is that we can create an environment through Roles that would allow users the ability to create a database(s) and have access to their database(s) but not have access

Re: [ADMIN] Permissions Scenerio

2008-09-15 Thread Tom Lane
Trent Pingenot [EMAIL PROTECTED] writes: I've been a PostGres user for a while, but am just now having to implement some security for a project. The hope is that we can create an environment through Roles that would allow users the ability to create a database(s) and have access to their

Re: [ADMIN] permissions on tables

2008-03-19 Thread Vishal Arora
PROTECTED]: RE: [ADMIN] permissions on tables Subject: [ADMIN] permissions on tablesDate: Mon, 17 Mar 2008 16:26:27 -0400From: [EMAIL PROTECTED]: pgsql-admin@postgresql.org Forgive me if this is not the correct list for this type of question. I thought I understood PostgreSQL’s privileges

Re: [ADMIN] permissions on tables

2008-03-18 Thread Vishal Arora
Subject: [ADMIN] permissions on tablesDate: Mon, 17 Mar 2008 16:26:27 -0400From: [EMAIL PROTECTED]: pgsql-admin@postgresql.org Forgive me if this is not the correct list for this type of question. I thought I understood PostgreSQL’s privileges well enough, but I’m running into problems

Re: [ADMIN] permissions on tables

2008-03-18 Thread Hyatt, Gordon
_ From: Vishal Arora [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 4:33 AM To: Hyatt, Gordon; pgsql-admin@postgresql.org Subject: RE: [ADMIN] permissions on tables _ Subject: [ADMIN] permissions on tables Date: Mon, 17 Mar 2008 16:26:27 -0400 From: [EMAIL PROTECTED] To: pgsql

Re: [ADMIN] permissions on tables

2008-03-18 Thread Vishal Arora
Subject: Re: [ADMIN] permissions on tablesDate: Tue, 18 Mar 2008 08:30:31 -0400From: [EMAIL PROTECTED]: pgsql-admin@postgresql.org Thanks for your response. I did not explicitly use NOINHERIT (in fact I used the PgAdmin v1.6.3 New Login Role and new Group Role wizard to create

[ADMIN] permissions on tables

2008-03-17 Thread Hyatt, Gordon
Forgive me if this is not the correct list for this type of question. I thought I understood PostgreSQL's privileges well enough, but I'm running into problems, so I must misunderstand something. I have a website that I'm adding functionality to, and therefore need to expand the

Re: [ADMIN] permissions on system catalogs for non-superuser?

2007-10-12 Thread Robert Gravsjö
Kevin Kempter wrote: Hi List; we have some monitoring/alert scripts which run sql against the database (8.1.4) as a non-superuser. The problem is I get insufficient privilege when trying to access current_query from pg_stat_activity. I ran these grant statements but still no joy: grant

[ADMIN] permissions on system catalogs for non-superuser?

2007-10-11 Thread Kevin Kempter
Hi List; we have some monitoring/alert scripts which run sql against the database (8.1.4) as a non-superuser. The problem is I get insufficient privilege when trying to access current_query from pg_stat_activity. I ran these grant statements but still no joy: grant select on pg_stat_activity

Re: [ADMIN] Permissions

2006-04-04 Thread Milen Dzhumerov
Tom Lane wrote: Milen Dzhumerov [EMAIL PROTECTED] writes: I've been trying to figure a few things lately but I could not so I'm asking on the list. I need to programmatically (through JDBC): 1. Figure out if the currently logged in user can create a schema 2. Figure out if a role

[ADMIN] Permissions

2006-04-03 Thread Milen Dzhumerov
Hello all, I've been trying to figure a few things lately but I could not so I'm asking on the list. I need to programmatically (through JDBC): 1. Figure out if the currently logged in user can create a schema 2. Figure out if a role has USAGE privileges on a schema 3. Figure out if a role

Re: [ADMIN] Permissions

2006-04-03 Thread Tom Lane
Milen Dzhumerov [EMAIL PROTECTED] writes: I've been trying to figure a few things lately but I could not so I'm asking on the list. I need to programmatically (through JDBC): 1. Figure out if the currently logged in user can create a schema 2. Figure out if a role has USAGE privileges on a

Re: [ADMIN] Permissions not removed when group dropped

2005-05-14 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: No, that's why I haven't mentioned it :-) I know I can't do anything about objects in other databases. But I have wondered if we could implement CASCADE behavior for an object whose dependencies are only local to the current database (where CASCADE

[ADMIN] Permissions not removed when group dropped

2005-05-13 Thread Harris, Richard
Hi, I'm using PostgreSQL 8.0. I created a group called grpA and granted grpA 'SELECT' permission on view viewA. When I dropped grpA and created group grpB, group grpB 'automatically' has SELECT permission to viewA. After dropping a group with permission to a view, I see that the permission

Re: [ADMIN] Permissions not removed when group dropped

2005-05-13 Thread Alvaro Herrera
On Fri, May 13, 2005 at 03:43:54PM -0500, Harris, Richard wrote: Hi, I'm using PostgreSQL 8.0. I created a group called grpA and granted grpA 'SELECT' permission on view viewA. When I dropped grpA and created group grpB, group grpB 'automatically' has SELECT permission to viewA. After

Re: [ADMIN] Permissions not removed when group dropped

2005-05-13 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: We are working on it, and hopefully in 8.1 you will be told where the user/group is referenced if you try to drop it. Automatically deleting the references from all ACLs has not been discussed but it's a possible outcome of the implementation. [

Re: [ADMIN] Permissions not removed when group dropped

2005-05-13 Thread Alvaro Herrera
On Fri, May 13, 2005 at 10:48:13PM -0400, Tom Lane wrote: Alvaro Herrera [EMAIL PROTECTED] writes: We are working on it, and hopefully in 8.1 you will be told where the user/group is referenced if you try to drop it. Automatically deleting the references from all ACLs has not been

[ADMIN] Permissions in PgSQL 7.2.1

2002-07-03 Thread Roger Mathis
Hi I have a problem with permissions. I have a user admin1. His permissions are select, insert, update and delete on table employee. After connecting with this user, I tried to create a table, and it worked. Why does this work? I don't want, that admin1 can create tables. Before I gave admin1

Re: [ADMIN] Permissions on Stored Procedures

2000-12-27 Thread R D
I hoped to see that and per database allow/deny ctreation of tables to groups/users in PostgreSQL 7.1 but as far as I know it will not be done. Rumen --- [EMAIL PROTECTED] wrote: I've been searching the lists and found a similar question but there have no replies. What I would like to be

Re: [ADMIN] Permissions on Database and some other questions!

1999-11-29 Thread Peter Eisentraut
On 1999-11-29, Alexey V. Meledin mentioned: 1. I create a database from my script and must GRANT all tables, subsequences, indexes (amount 100) to some users I need.! Yehh... GRANT does not allow me to grant all tables during one query. If there any function(procedure) to do this for all

[ADMIN] Permissions/security on pg_* tables?

1998-11-16 Thread Dax Kelson
Is it normal/desirable for any user to be able to select (haven't tried insert/update) in the pg_* tables? Is it possible to GRANT/REVOKE on the pg_* tables? It seems it is. How can you see the permissions if \z doesn't work on the pg_* tables? Given a multi-user environment were each user

Re: [ADMIN] permissions to tuples

1998-07-29 Thread Vadim Mikheev
Jorge Maturana wrote: Hi all, How can i grant some privilege to a user on a tuple? I found only grant and revoke to do this in a class. Some help? You could use triggers (in C and TCL currently). Vadim