Changeset 489 for trunk/dns.cgi


Ignore:
Timestamp:
03/19/13 17:47:40 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Object conversion of DNSDB.pm, part 21. See #11.

  • remove %permissions global from module; all the access controls are checked on the caller's side. Declare it in dns.cgi instead (the only place it's checked).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r486 r489  
    291291
    292292# Misc Things To Do on most pages
    293 $dnsdb->initPermissions($session->param('uid'));
     293my %permissions;
     294$dnsdb->getPermissions('user', $session->param('uid'), \%permissions);
    294295$dnsdb->initActionLog($session->param('uid'));
    295296
Note: See TracChangeset for help on using the changeset viewer.