Fw: Problems whit role and privileges
am 24.05.2010 20:49:11 von eduardoreisEsta é uma mensagem em várias partes no formato MIME.
------=_NextPart_000_0051_01CAFB58.A74792E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Tom,
I agree with you about the default permissions for the public schema.
I do not understand is why the Dependencies tab (in pgAdmin III) of =
public schema displays all the roles (admweb, usuweb, admsfar, ususfar)
Example:
Dependencies tab=20
Type Name Restriction
Role admweb ACL
Role usuweb ACL
Role admsfar ACL
Role ususfar ACL
I did this setting. Am I interpreting the dependencies tab in the wrong =
way?
Thanks
Eduardo.
From: "Tom Lane"
Sent: Friday, May 21, 2010 6:21 PM
To: "Eduardo S=E1 dos Reis"
Subject: Re: [ADMIN] Problems whit role and privileges=20
That looks exactly as I'd expect --- it's the default permissions for
the public schema. What were you expecting?
regards, tom lane
From: Eduardo S=E1 dos Reis=20
Sent: Friday, May 21, 2010 5:51 PM
To: Tom Lane=20
Subject: Re: [ADMIN] Problems whit role and privileges=20
Hi Tom,
I analyzed the following:
1 - I have the following roles: admweb, usuweb, admsfar, ususfar
2 - I have the following databases: db_web, db_sfar
3 - I had to create a new database db_fin
4 - Then I accessed the public schema of this database (db_fin) with =
pgAdmin III.=20
I noticed that the Dependencies tab displays all the roles (admweb, =
usuweb, admsfar, ususfar)
Example:
Aba Dependencieis (database db_fin)
Type Name Restriction
Role admweb ACL
Role usuweb ACL
Role admsfar ACL
Role ususfar ACL
=20
But when access privileges of the public schema (with pgAdmin III), the =
following appears:
User/Group Privileges
postgres UC
public UC=20
Can you help me ?
Thanks.
Eduardo=20
--------------------------------------------------
From: "Tom Lane"
Sent: Friday, May 21, 2010 4:08 PM
To: "Eduardo S=E1 dos Reis"
Cc:
Subject: Re: [ADMIN] Problems whit role and privileges=20
> =3D?iso-8859-1?Q?Eduardo_S=3DE1_dos_Reis?=3D =
>> I'm using postgresql 8.4 and have created several roles.
>> When I create a new database and then check the dependencies of =
schema public my previously created roles appear as dependencies.
>> I did not understand why. Can anyone help me?
>=20
> I think most likely you're misinterpreting the dependency data.
> Would you show us exactly how you arrived at the above conclusion?
>=20
> regards, tom lane
>=20
> --=20
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
------=_NextPart_000_0051_01CAFB58.A74792E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
http-equiv=3DContent-Type>
id=3DMailContainerBody leftMargin=3D0 topMargin=3D0 =
CanvasTabStop=3D"true"=20
name=3D"Compose message area">
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">I=20
agree with you about the default =
permissions for=20
the public schema.
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">
id=3Dresult_box class=3Dlong_text>
closure_uid_s3ylgd=3D"393"=20
lc=3D"o que eu n=E3o entendi =E9 porque ao acessar the public schema of =
this database with pgAdmin III the Dependencies tab displays all the =
roles (admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I do not understand is why the public access to the schema of this =
database with pgAdmin III the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)
">
id=3Dresult_box class=3Dlong_text>
title=3D""=20
closure_uid_s3ylgd=3D"553"=20
lc=3D"o que eu n=E3o entendi =E9 porque the Dependencies tab (in PGADMIN =
III) of public schema displays all the roles (admweb, usuweb, admsfar, =
ususfar)"=20
mc=3D"I do not understand is why the Dependencies tab (in pgAdmin III) =
of public schema displays all the roles (admweb, usuweb, admsfar, =
ususfar)
">I=20
do not understand is why the Dependencies tab (in pgAdmin III) of public =
schema=20
displays all the roles (admweb, usuweb, admsfar,=20
ususfar)
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">
class=3Dlong_text>
lc=3D"o que eu n=E3o entendi =E9 porque ao acessar the public schema of =
this database with pgAdmin III the Dependencies tab displays all the =
roles (admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I do not understand is why the public access to the schema of this =
database with pgAdmin III the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)
">
class=3Dlong_text>
closure_uid_s3ylgd=3D"553"=20
lc=3D"o que eu n=E3o entendi =E9 porque the Dependencies tab (in PGADMIN =
III) of public schema displays all the roles (admweb, usuweb, admsfar, =
ususfar)"=20
mc=3D"I do not understand is why the Dependencies tab (in pgAdmin III) =
of public schema displays all the roles (admweb, usuweb, admsfar, =
ususfar)
">
style=3D"BACKGROUND-COLOR: #fff" title=3D"" closure_uid_s3ylgd=3D"554"=20
lc=3D"Aba Dependencieis (database db_fin)"=20
mc=3D"Dependencies tab (database =
db_fin)
">Example:<=
/SPAN>
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">
class=3Dlong_text>
lc=3D"o que eu n=E3o entendi =E9 porque ao acessar the public schema of =
this database with pgAdmin III the Dependencies tab displays all the =
roles (admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I do not understand is why the public access to the schema of this =
database with pgAdmin III the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)
">
class=3Dlong_text>
closure_uid_s3ylgd=3D"554" lc=3D"Aba Dependencieis (database db_fin)"=20
mc=3D"Dependencies tab (database =
db_fin)
">=
FONT>
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">
class=3Dlong_text>
lc=3D"o que eu n=E3o entendi =E9 porque ao acessar the public schema of =
this database with pgAdmin III the Dependencies tab displays all the =
roles (admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I do not understand is why the public access to the schema of this =
database with pgAdmin III the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)
">
class=3Dlong_text>
closure_uid_s3ylgd=3D"554" lc=3D"Aba Dependencieis (database db_fin)"=20
mc=3D"Dependencies tab (database =
db_fin)
">Dependencies tab=20
lc=3D"Eu concordo com voc=EA sobre as permiss=F5es default do esquema =
public."=20
mc=3D"I agree with you about the permissions of the default public =
schema.
">
class=3Dlong_text>
lc=3D"o que eu n=E3o entendi =E9 porque ao acessar the public schema of =
this database with pgAdmin III the Dependencies tab displays all the =
roles (admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I do not understand is why the public access to the schema of this =
database with pgAdmin III the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)
">
class=3Dlong_text>
closure_uid_s3ylgd=3D"554" lc=3D"Aba Dependencieis (database db_fin)"=20
mc=3D"Dependencies tab (database =
db_fin)
">
style=3D"BACKGROUND-COLOR: #fff" title=3D"" closure_uid_s3ylgd=3D"555"=20
lc=3D"Type Name Restriction" mc=3D"Type Name Restriction
">Type =
Name=20
Restriction
closure_uid_s3ylgd=3D"556" lc=3D"Role admweb ACL"=20
mc=3D"Role admweb ACL
">Role admweb ACL
title=3D""=20
closure_uid_s3ylgd=3D"557" lc=3D"Role usuweb ACL"=20
mc=3D"Role usuweb ACL
">Role usuweb ACL
style=3D"BACKGROUND-COLOR: #fff">
closure_uid_s3ylgd=3D"558"=20
lc=3D"Role admsfar ACL" mc=3D"Role admsfar ACL
">Role admsfar=20
ACL
ususfar ACL"=20
mc=3D"Role ususfar ACL">Role ususfar=20
ACL
style=3D"BACKGROUND-COLOR: #fff" title=3D"" closure_uid_s3ylgd=3D"872"=20
lc=3D"eu n=E3o fiz esta definição." mc=3D"I did this setting. ">I =
did this setting.=20
closure_uid_s3ylgd=3D"893"=20
lc=3D"ser=E1 que estou interpretando a aba dependencies de maneira =
errada?"=20
mc=3D"Am I interpreting the dependencies tab in the wrong way?">Am I =
interpreting=20
the dependencies tab in the wrong way?
href=3D"mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us>
Sent: =
Friday, May=20
21, 2010 6:21 PM
To: "Eduardo S=E1 dos Reis" <
title=3D"mailto:eduardoreis@pjf.mg.gov.br
CTRL + Clique para seguir =
o link"=20
href=3D"mailto:eduardoreis@pjf.mg.gov.br">eduardoreis@pjf.mg .gov.br&g=
t;
Subject:=20
Re: [ADMIN] Problems whit role and privileges
for
the public schema. What were you expecting?
regards, =
tom=20
lane
o link"=20
href=3D"mailto:eduardoreis@pjf.mg.gov.br">Eduardo S=E1 dos Reis =
href=3D"mailto:tgl@sss.pgh.pa.us">Tom Lane
following:
"=20
closure_uid_l1bhys=3D"949">Hi=20
Tom,
mc=3D"I analyzed the following:
"=20
closure_uid_l1bhys=3D"949">
face=3DArial>
mc=3D"I analyzed the following:
"=20
closure_uid_l1bhys=3D"949">I analyzed the=20
following:
lc=3D"1 - Possuo as seguintes roles: admweb, usuweb, admsfar, ususfar"=20
mc=3D"1 - I have the following roles: admweb, usuweb, admsfar, =
ususfar
"=20
closure_uid_l1bhys=3D"950">1 - I have the =
following roles:=20
admweb, usuweb, admsfar, ususfar
style=3D"BACKGROUND-COLOR: #fff" title=3D""=20
lc=3D"2 - Tenho os seguintes bancos de dados: db_web, db_sfar"=20
mc=3D"2 - I have the following databases: db_web, =
db_sfar
"=20
closure_uid_l1bhys=3D"951">2 - I have the =
following=20
databases: db_web, db_sfar
size=3D2>
lc=3D"3 - Precisei criar um novo banco de dados db_fin"=20
mc=3D"3 - I had to create a new database db_fin
"=20
closure_uid_l1bhys=3D"952">3 - I had to create a new database=20
db_fin
lc=3D"4 - Em seguida eu acessei o esquema public deste banco de dados =
com o pgadmin iii."=20
mc=3D"4 - Then I accessed the public schema of this database with =
pgAdmin III. "=20
closure_uid_l1bhys=3D"953">4 - Then I accessed the public schema of this =
database=20
(db_fin) with pgAdmin III.
lc=3D"4 - Em seguida eu acessei o esquema public deste banco de dados =
com o pgadmin iii."=20
mc=3D"4 - Then I accessed the public schema of this database with =
pgAdmin III. "=20
closure_uid_l1bhys=3D"953">
title=3D""=20
lc=3D"eu verifiquei que na aba Dependencies =E9 exibido todas as roles ( =
admweb, usuweb, admsfar, ususfar)"=20
mc=3D"I noticed that the Dependencies tab displays all the roles =
(admweb, usuweb, admsfar, ususfar)"=20
closure_uid_l1bhys=3D"954">I noticed that the Dependencies tab displays =
all the=20
roles (admweb, usuweb, admsfar, =
ususfar)
size=3D2 face=3DArial>Example:
Aba Dependencieis (database=20
db_fin)
Type =
Name =20
Restriction
Role admweb =20
ACL
Role usuweb =20
ACL
Role admsfar =20
ACL
Role ususfar =20
ACL
style=3D"BACKGROUND-COLOR: #fff" title=3D""=20
lc=3D"mas quando acesso os privil=E9gios do esquema public (with PGAdmin =
III), o seguinte =E9 exibido:"=20
mc=3D"but when access privileges of the public schema (with pgAdmin =
III), the following appears:
"=20
closure_uid_l1bhys=3D"1079">But when access privileges of the public =
schema (with=20
pgAdmin III), the following appears:
style=3D"BACKGROUND-COLOR: #fff" title=3D"" lc=3D"User/Group Privileges" =
mc=3D"User / Group Privileges
"=20
closure_uid_l1bhys=3D"1080">User/Group  =
; =20
Privileges
lc=3D"postgres UC" mc=3D"postgres UC
"=20
closure_uid_l1bhys=3D"1081">postgres &=
nbsp; =20
UC
lc=3D"public UC"=20
mc=3D"UC public"=20
closure_uid_l1bhys=3D"1086">public &nb=
sp; &nbs=
p; UC=20
lc=3D"voc=EA pode me ajudar" mc=3D"can you help me" =
closure_uid_l1bhys=3D"1126">Can you=20
help me ?
lc=3D"voc=EA pode me ajudar" mc=3D"can you help me"=20
closure_uid_l1bhys=3D"1126">
--------------------------------------------------
From:=20
"Tom Lane" <tgl@sss.pgh.pa.us>
Sent: Friday, May 21, 2010 4:08=20
PM
To: "Eduardo S=E1 dos Reis" =
<eduardoreis@pjf.mg.gov.br>
Cc:=20
<pgsql-admin@postgresql.org>
Subject: Re: [ADMIN] Problems whit =
role=20
and privileges
> =3D?iso-8859-1?Q?Eduardo_S=3DE1_dos_Reis?=3D =
<eduardoreis@pjf.mg.gov.br> writes:
>> I'm using =
postgresql 8.4=20
and have created several roles.
>> When I create a new database =
and=20
then check the dependencies of schema public my previously created roles =
appear=20
as dependencies.
>> I did not understand why. Can anyone help=20
me?
>
> I think most likely you're misinterpreting the =
dependency=20
data.
> Would you show us exactly how you arrived at the above=20
conclusion?
>
> regards, tom lane
>
> -- =
> Sent=20
via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To =
make=20
changes to your subscription:
>=20
http://www.postgresql.org/mailpref/pgsql-admin
------=_NextPart_000_0051_01CAFB58.A74792E0--