| 
            Last change
 on this file since 331 was             225, checked in by Kris Deugau, 21 years ago           | 
        
        
          | 
             
/branches/acl 
 
All access to change or "delete" (static IPs aren't actually 
deleted unless the whole pool is) should be ACL-ified.  Users 
without the "c" ACL cannot make changes to existing allocations. 
Users without the "d" ACL cannot delete netblocks, routing 
allocations, or master netblocks;  they also may not deallocate 
static IPs.  Checks are also done later in the processing to 
make sure that a crafted URL can't get around the restrictions. 
 
 
editDisplay.html required updates to remove form elements from 
the static HTML;  users that cannot modify content will still 
receive a page with some hidden form elements but no submit 
button(s) to change or delete content (as determined by their 
ACL). 
 
 
           | 
        
        
          | 
            File size:
            996 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [4] | 1 | <div class="heading"><div class="indent">Edit the information below</div></div>
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | <table class="indent" size="33%" cellspacing=1 bgcolor="black">
 | 
|---|
 | 4 | <form method="POST" action="main.cgi">
 | 
|---|
 | 5 | <input type="hidden" name="action" value="update">
 | 
|---|
 | 6 | <input type="hidden" name="block" value="$$BLOCK$$">
 | 
|---|
 | 7 | 
 | 
|---|
| [74] | 8 | <tr class="color1"><td class=heading>IP block:</td><td class="regular">$$BLOCK$$</td></tr>
 | 
|---|
| [4] | 9 | 
 | 
|---|
| [225] | 10 | <tr class="color2"><td class=heading>City:</td><td class="regular">$$CITY$$</td></tr>
 | 
|---|
| [4] | 11 | 
 | 
|---|
| [74] | 12 | <tr class="color1"><td class=heading>Type:</td><td class=regular>$$TYPESELECT$$</td></tr>
 | 
|---|
| [4] | 13 | 
 | 
|---|
| [225] | 14 | <tr class="color2"><td class=heading>CustID:</td><td class="regular">$$CUSTID$$</td></tr>
 | 
|---|
| [4] | 15 | 
 | 
|---|
| [225] | 16 | <tr class="color1"><td class="heading">Circuit ID:</td><td class="regular">$$CIRCID$$</td></tr>
 | 
|---|
| [74] | 17 | 
 | 
|---|
| [225] | 18 | <tr class="color2"><td class="heading">Description/Name:</td><td class="regular">$$DESC$$</td></tr>
 | 
|---|
| [4] | 19 | 
 | 
|---|
| [225] | 20 | <tr class="color1"><td class="heading" valign="top">Notes:</td><td class="regular">$$NOTES$$</td></tr>
 | 
|---|
| [4] | 21 | 
 | 
|---|
| [225] | 22 | $$UPDOK$$
 | 
|---|
 | 23 | $$DELOK$$
 | 
|---|
| [4] | 24 | </form>
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | </table>
 | 
|---|
 | 27 | </br>
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.