• Leigh Stoller's avatar
    A large set of authorization changes. · d2360b6d
    Leigh Stoller authored
    * Cleanup! A lot of the structure derived from the early frame days,
      which had a noticable (and bad) effect on how I wrote the stuff.  I
      cleaned up most of that yuckyness.
    
    * In process, optimize a little bit on the queries. The old code did
      about 9 queries just to write out the menu options, and then
      repeated most of those queries again in the page guts. I've
      consolidated the queries as much as possible (to 3) and cache all
      the results.
    
    * Fix up problem with users who forget their passwords before
      verification. Basically, I fixed the more general problem of not
      being able to update your user info before verification/approval;
      users now get that menu option no matter their status.
    
    * Fix up problem of users being able to access pages before
      verification (but after approval) by going around the menu options.
      The page level check (after the menu is drawn) now checks all
      conditions (password expired, unverified, unapproved, timedout, and
      also nologins()).
    
    * Minor change in approveuser; do not show the new account to the
      project leader until the new user has verified his account.
    
    * Change verification method, as reqwuested by Dave.  In addition to
      providing the key, also provide a web link to take the user straight
      to verification. I actually take them direct to the login page, and
      pass the key in as an argument. If the user is already logged in,
      bypass and go directly to the verify page (not the form page of
      course).  If the user is not logged in, let him log in, and then
      forward the key onward to the verify page. Basically, bypass the
      form all the time, and just do the verification.
    
    * Minor change in showuser; Do not show pid/groups not approved in,
      and if the count is zero, do not draw the table headings.
    d2360b6d
Name
Last commit
Last update
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
db Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools/pcapper Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
Makeconf.in Loading commit data...
PROJECTS Loading commit data...
README Loading commit data...
RESTRICTED-RIGHTS Loading commit data...
TODO Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-barb-emulab Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-default Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-neo-paper Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-ricci-neo-paper Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...