Changeset 855 for trunk


Ignore:
Timestamp:
04/14/16 16:20:34 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Shuffle propagation of ACL-related table column on listpool page so that
all the appropriate page components actually get displayed or not as needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r851 r855  
    471471# probably have to add an "edit IP allocation" link here somewhere.
    472472
     473  # this will cascade into the IP list below
     474  $page->param(maydel => $IPDBacl{$authuser} =~ /d/);
     475
    473476  my $plist = listPool($ip_dbh, $webvar{pool});
    474   # technically slightly more efficient to check the ACL in an if () once outside the foreach
    475   foreach (@{$plist}) {
    476     $$_{maydel} = $IPDBacl{$authuser} =~ /d/;
    477   }
    478477  $page->param(poolips => $plist);
    479478} # end showPool
Note: See TracChangeset for help on using the changeset viewer.