Changeset 432


Ignore:
Timestamp:
10/23/12 17:51:38 (12 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Merge duplicate-parent-default-records sort-of-fix from /trunk r431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/dns.cgi

    r430 r432  
    847847      }
    848848    }
    849     # not gonna provide the 4th param: template-or-clone flag, just yet
    850     my ($code,$msg) = addGroup($dbh, $webvar{newgroup}, $webvar{pargroup}, \%newperms);
     849    # force inheritance of parent group's default records with inherit flag,
     850    # otherwise we end up with the hardcoded defaults from DNSDB.pm.  See
     851    # https://secure.deepnet.cx/trac/dnsadmin/ticket/8 for the UI enhancement
     852    # that will make this variable.
     853    my ($code,$msg) = addGroup($dbh, $webvar{newgroup}, $webvar{pargroup}, \%newperms, 1);
    851854    if ($code eq 'OK') {
    852855      logaction(0, $session->param("username"), $webvar{pargroup}, "Added group $webvar{newgroup}");
Note: See TracChangeset for help on using the changeset viewer.