[pgpool-committers: 1583] pgpool: Fix that pgpool_pgctl can be executed only when the login user
Nozomi Anzai
anzai at sraoss.co.jp
Wed Dec 25 19:55:37 JST 2013
Fix that pgpool_pgctl can be executed only when the login user is super user in backend nodes.
Previously, any login user was able to try to execute pgpool_pgctl()
which could stop/restart/reload a backend node even if he was not a super user.
Also pgpool_pgctl() was executed by sr_check_user or health_check_user, but it wasn't reasonable.
This update is that buttons of stop/restart/reload are disabled when the login user isn't a super user
and that pgpool_pg_ctl() is executed by login user instead of sr_check_user or health_check_user
who don't have to be non-superuser.
Per [pgpool-general: 2338].
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpooladmin.git;a=commitdiff;h=9cf159246892e3388b36f4b43cccc0c62e54a29f
Modified Files
--------------
common.php | 6 +++++-
status.php | 8 +++++++-
templates/elements/status_pgsql_buttons.tpl | 8 ++++----
3 files changed, 16 insertions(+), 6 deletions(-)
More information about the pgpool-committers
mailing list