GroupCountries.php
authorChris <chris@roojs.com>
Tue, 18 Mar 2014 13:48:13 +0000 (21:48 +0800)
committerChris <chris@roojs.com>
Tue, 18 Mar 2014 13:48:13 +0000 (21:48 +0800)
GroupCountries.php

index 5ab6cc7..48cf79a 100644 (file)
@@ -31,6 +31,10 @@ class Pman_Core_GroupCountries extends Pman
     
     function post()
     {
+        if (!$this->hasPerm( 'Core.Groups','E')) { // editing groups..
+            $this->jerr("PERMISSION DENIED");
+        }
+        
         print_r($_REQUEST);
     }