From: Ben Klang Date: Tue, 25 May 2010 18:01:47 +0000 (-0400) Subject: Beatnik: Enforce security only at the domain level X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5d92238198ba556e35e216181066720828d2e84c;p=horde.git Beatnik: Enforce security only at the domain level ... not at the per-record level --- diff --git a/beatnik/lib/Driver.php b/beatnik/lib/Driver.php index f3e4bf552..087d986ce 100644 --- a/beatnik/lib/Driver.php +++ b/beatnik/lib/Driver.php @@ -218,7 +218,7 @@ class Beatnik_Driver { throw new Beatnik_Exception(_('You do not have permssion to edit the SOA of this zone.')); } } else { - $node = 'beatnik:domains:' . $_SESSION['beatnik']['curdomain']['zonename'] . ':' . $info['id']; + $node = 'beatnik:domains:' . $_SESSION['beatnik']['curdomain']['zonename']; if (!Beatnik::hasPermission($node, Horde_Perms::EDIT, 2)) { throw new Beatnik_Exception(_('You do not have permssion to edit this record.')); }