source: branches/acl/editDisplay.html@ 386

Last change on this file since 386 was 225, checked in by Kris Deugau, 20 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
Line 
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
8<tr class="color1"><td class=heading>IP block:</td><td class="regular">$$BLOCK$$</td></tr>
9
10<tr class="color2"><td class=heading>City:</td><td class="regular">$$CITY$$</td></tr>
11
12<tr class="color1"><td class=heading>Type:</td><td class=regular>$$TYPESELECT$$</td></tr>
13
14<tr class="color2"><td class=heading>CustID:</td><td class="regular">$$CUSTID$$</td></tr>
15
16<tr class="color1"><td class="heading">Circuit ID:</td><td class="regular">$$CIRCID$$</td></tr>
17
18<tr class="color2"><td class="heading">Description/Name:</td><td class="regular">$$DESC$$</td></tr>
19
20<tr class="color1"><td class="heading" valign="top">Notes:</td><td class="regular">$$NOTES$$</td></tr>
21
22$$UPDOK$$
23$$DELOK$$
24</form>
25
26</table>
27</br>
Note: See TracBrowser for help on using the repository browser.