Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdNjX-0000fs-Sl for pgsql-admin@arkaria.postgresql.org; Wed, 01 Apr 2015 18:51:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YdNjX-0006lN-Aa for pgsql-admin@arkaria.postgresql.org; Wed, 01 Apr 2015 18:51:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YdNjV-0006iw-2d for pgsql-admin@postgresql.org; Wed, 01 Apr 2015 18:51:21 +0000 Received: from imx3.etecsa.cu ([200.55.152.137]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdNjN-0005hz-Ka for pgsql-admin@postgresql.org; Wed, 01 Apr 2015 18:51:19 +0000 Received: from Unknown ([192.168.91.45] helo=mn3.etecsa.cu) by imx3.etecsa.cu with ESMTP id tDo4uq3s46552; Wed, 1 Apr 2015 13:50:04 -0500 Received: (qmail 1441 invoked by uid 11185); 1 Apr 2015 19:50:49 -0000 Received: from 192.168.91.6 by mn3.etecsa.cu (envelope-from , uid 502) with qmail-scanner-2.08 (spamassassin: 3.2.5. Clear:RC:1(192.168.91.6):. Processed in 0.023742 secs); 01 Apr 2015 19:50:49 -0000 Received: from unknown (HELO webmail.etecsa.cu) ([192.168.91.6]) (envelope-sender ) by mn2.etecsa.cu (qmail-ldap-1.03) with SMTP for ; 1 Apr 2015 19:50:49 -0000 Received: from 192.168.207.54 (SquirrelMail authenticated user gilberto.castillo) by webmail.etecsa.cu with HTTP; Wed, 1 Apr 2015 14:50:47 -0500 (GMT+5) Message-ID: <38300.192.168.207.54.1427917847.squirrel@webmail.etecsa.cu> In-Reply-To: <1809816788.15318923.1427913861185.JavaMail.root@embrapa.br> References: <1809816788.15318923.1427913861185.JavaMail.root@embrapa.br> Date: Wed, 1 Apr 2015 14:50:47 -0500 (GMT+5) Subject: Re: Catalog permissions From: "Gilberto Castillo" To: "BRUNO CESAR BERNARDES" Cc: "gilberto castillo" , pgsql-admin@postgresql.org Reply-To: gilberto.castillo@etecsa.cu User-Agent: SquirrelMail/1.4.8-5.el5_4.10 MIME-Version: 1.0 X-Priority: 3 (Normal) Importance: Normal X-SpamTest-Envelope-From: gilberto.castillo@etecsa.cu X-SpamTest-Info: Profiles 72422 [Jan 28 2015] X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0285], KAS30/SDK/Release X-Anti-Virus: Kaspersky Mail Gateway, version: 5.6.28/RELEASE, bases: 20140401T050822 #7726142, check: 20150401 clean Content-Type: multipart/mixed; boundary="=tDo6uKQt61162=imx3.etecsa.cu=" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org This is a multi-part message in MIME format. --=tDo6uKQt61162=imx3.etecsa.cu= Content-Disposition: inline Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit > Dear Gilberto, > > No. I am not using PgAdmin3, I am using PgPHPAdmin and I could not find a > similar option on it. > To solve my problem the best thing would be restrict the Postgres catalog > to the objects that the user has permission. Or give permissions read only. That's what that passed through my lines. > ----- Mensagem original ----- > > De: "Gilberto Castillo" > Para: "BRUNO CESAR BERNARDES" > Cc: pgsql-admin@postgresql.org > Enviadas: Terça-feira, 31 de março de 2015 12:59:11 > Assunto: Re: [ADMIN] Catalog permissions > > > >> Hi, >> >> I have to allow one user to use my Postgres installation in one schema >> of >> several. We are preparing an phpPGAdmin installation to give an remote >> access to this schema. >> The phpPDAdmin is showing the entire catalog to this user and allowing >> access only in the schema that I gave permissions to him. >> How do I do to this user can see only the schema that he has access, not >> the entire catalog. >> Is it possible? > > Use: > > GRANT usage on schema zzz to uuu; > Alter user uuu set default_transaction_read_only = on; > GRANT select on all tables in schema zzz to uuu; > > > Saludos, > Gilberto Castillo > ETECSA, La Habana, Cuba > > --- > This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE > running at host imx3.etecsa.cu > Visit our web-site: , > > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin > > > > -- > > Bruno César Bernardes, Analista > Coordenadoria de Gestão de Infraestrutura > Departamento de Tecnologia da Informação (DTI) > Empresa Brasileira de Pesquisa Agropecuária (Embrapa) > Brasília/DF > > bruno.bernardes@embrapa.br > Telefone: +55 (61) 3448-1637 | Fax: +55 (61) 3448-4313 > www.embrapa.br | twitter.com/embrapa > Confira também: www.facebook.com/agrosustentavel > > > > > ____________________________________________________________________________ > Aviso de confidencialidade > > Esta mensagem da Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), > empresa publica federal regida pelo disposto na Lei Federal no. 5.851, > de > 7 de dezembro de 1972, e enviada exclusivamente a seu destinatario e > pode > conter informacoes confidenciais, protegidas por sigilo profissional. > Sua > utilizacao desautorizada e ilegal e sujeita o infrator as penas da lei. > Se > voce a recebeu indevidamente, queira, por gentileza, reenvia-la ao > emitente, > esclarecendo o equivoco. > > Confidentiality note > > This message from Empresa Brasileira de Pesquisa Agropecuaria > (Embrapa), a > government company established under Brazilian law (5.851/72), is > directed > exclusively to its addressee and may contain confidential data, > protected > under professional secrecy rules. Its unauthorized use is illegal and > may > subject the transgressor to the law's penalties. If you are not the > addressee, > please send it back, elucidating the failure. > > > > --- > This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE > running at host imx2.etecsa.cu > Visit our web-site: , > Saludos, Gilberto Castillo ETECSA, La Habana, Cuba --=tDo6uKQt61162=imx3.etecsa.cu= Content-Type: text/plain Content-Disposition: inline --- This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE running at host imx3.etecsa.cu Visit our web-site: , --=tDo6uKQt61162=imx3.etecsa.cu= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin --=tDo6uKQt61162=imx3.etecsa.cu=--