4 * Description of GroupCountries
8 require_once 'Pman.php';
10 class Pman_Core_GroupCountries extends Pman
15 parent::getAuth(); // load company!
16 $au = $this->getAuthUser();
18 $this->jerr("Not authenticated", array('authFailure' => true));
20 if ($au->company()->comptype != 'OWNER') {
21 $this->jerr("Permission Denied" );
23 $this->authUser = $au;
34 if (!$this->hasPerm( 'Core.Groups','E')) { // editing groups..
35 $this->jerr("PERMISSION DENIED");