Обсуждение: [pgAdmin III] #257: UI glitch with superuser /canupdatecatalogs

Поиск
Список
Период
Сортировка

[pgAdmin III] #257: UI glitch with superuser /canupdatecatalogs

От
"pgAdmin Trac"
Дата:
#257: UI glitch with superuser /canupdatecatalogs
-----------------------------+----------------------------------------------
 Reporter:  Kasia Tuszynska  |       Owner:  gleu
     Type:  bug              |      Status:  new 
 Priority:  minor            |   Milestone:      
Component:  pgadmin          |     Version:  1.12
 Keywords:  role             |    Platform:  all 
-----------------------------+----------------------------------------------
 In pgAdminIII I checked off the box for: can inherit from parent role, can
 create db object, superuser

 Got the following sql:
 CREATE ROLE bob LOGIN
   ENCRYPTED PASSWORD 'md51e9484aace238e7cb2609130fd87646e'
   SUPERUSER INHERIT CREATEDB NOCREATEROLE;
 UPDATE pg_authid SET rolcapupdate=false WHERE rolname='bob';

 Than I created bobb
 In pgAdminIII I checked off the box for: can inherit from parent role, can
 create db object, superuser, Can modify catalog directly
 Got the following sql:
 CREATE ROLE bobb LOGIN
   ENCRYPTED PASSWORD 'md51e9484aace238e7cb2609130fd87646e'
   SUPERUSER INHERIT CREATEDB NOCREATEROLE;

 Conclusion:
 Sql level superuser = pgAdminIII superuser + can modify catalog directly

 This is misleading, I would call it a pgAdminIII bug but who knows maybe
 it is a feature...

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/257>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #257: UI glitch with superuser /canupdatecatalogs

От
"pgAdmin Trac"
Дата:
#257: UI glitch with superuser /canupdatecatalogs
------------------------------+---------------------------------------------
  Reporter:  Kasia Tuszynska  |       Owner:  gleu  
      Type:  bug              |      Status:  closed
  Priority:  minor            |   Milestone:  1.12.2
 Component:  pgadmin          |     Version:  1.12  
Resolution:  fixed            |    Keywords:  role  
  Platform:  all              |  
------------------------------+---------------------------------------------
Changes (by gleu):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => 1.12.2


Comment:

 Fixed in
 http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=fcbf112d93fcbeb78949b2576d5eda6cfecb41d8
 and
 http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=03504451e9f315efb769a11dcb8fb95bf649b364.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/257#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III