function checkPerm($obj, $lvl, $req=null)
{
- if ($this->authUser) {
+ //if ($this->authUser) {
$res = parent::checkPerm($obj,$lvl,$req);
if ($res) {
return $res;
}
- }
+ //}
// not authenticated...
-
-
+
// these checks only apply to non-company users.
// normally allowed, but we have more restrictions...
switch($obj->tablename()) {
+
case 'core_enum':
if (empty($req['etype'])) {
return false;
}
switch ($req['etype']) {
- // case 'severity':
- case 'classification':
- case 'severity':
+ case 'classification':
+ //case 'severity':
case 'resolution':
case 'priority':
case 'ticketstate':