- Timestamp:
- 12/02/11 17:39:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r181 r182 617 617 changepage(page => "reclist", errmsg => "You are not permitted to delete records", id => $webvar{parentid}) 618 618 unless ($permissions{admin} || $permissions{record_delete}); 619 620 if (!check_scope(id => $webvar{id}, type => ($webvar{defrec} eq 'y' ? 'group' : 'domain'))) { 621 changepage(page => 'domlist', errmsg => "You do not have permission to delete records in the requested ". 622 ($webvar{defrec} eq 'y' ? 'group' : 'domain')); 623 } 619 624 620 625 $page->param(id => $webvar{id});
Note:
See TracChangeset
for help on using the changeset viewer.