Re: [Postfixadmin-devel] SF.net SVN: postfixadmin:[512] trunk/delete.php
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2009-01-25 22:27:49
|
Hello, Am Montag, 12. Januar 2009 schrieb Gin...@us...: > Revision: 512 > delete.php: this probably allows you to delete domains > Modified: trunk/delete.php > +elseif ($fTable == "alias_domain") > +{ > + authentication_require_role('global-admin'); Is there a special reason why you limited deletion of alias domains to superadmins? Every domain admin is allowed to create alias domains (given he has at least 2 domains ;-) - so he should also be allowed to delete domain aliases again. (A check if both involved domains are owned by the admin is of course necessary.) Regards, Christian Boltz -- .: Schneewittchen & die Pfälzer Waldconnection :. Ein polit-kabarettistisches Märchenstück mit viel Musik gesungen & gespielt von Mitgliedern der Landjugend RheinhessenPfalz 18.1.2009 Berlin - 6.2.2009 Neustadt - Infos: www.LJ-RheinhessenPfalz.de |