Finish up user deletion. The big visible change is that when a user is
deleted, they still remain in the user table with a status of "archived", but since all the queries in the system now use uid_idx instead of uid, it is safe to reuse a uid since they are no longer ambiguous. The reason for not deleting users from the users table is so that the stats records can refer to the original record (who was that person named "mike"). This is very handy and worth the additional effort it has taken. There is no way to ressurect a user, but it would not be hard to add.
Showing
- account/newuser.in 5 additions, 5 deletionsaccount/newuser.in
- bugdb/bugdbsetup.in 2 additions, 2 deletionsbugdb/bugdbsetup.in
- collab/jabber/jabbersetup.in 3 additions, 3 deletionscollab/jabber/jabbersetup.in
- collab/mailman/mmsetup.in 6 additions, 6 deletionscollab/mailman/mmsetup.in
- db/User.pm.in 8 additions, 8 deletionsdb/User.pm.in
- db/elabinelab_bossinit.in 3 additions, 3 deletionsdb/elabinelab_bossinit.in
- db/genelists.in 7 additions, 7 deletionsdb/genelists.in
- db/libdb.pm.in 4 additions, 3 deletionsdb/libdb.pm.in
- db/unixgroups.in 18 additions, 10 deletionsdb/unixgroups.in
- lib/libtb/tbdb.c 7 additions, 1 deletionlib/libtb/tbdb.c
- lib/libtb/tbdb.h 3 additions, 1 deletionlib/libtb/tbdb.h
- security/genlastlog.c 42 additions, 14 deletionssecurity/genlastlog.c
- sql/database-create.sql 6 additions, 1 deletionsql/database-create.sql
- sql/updates/4/192 70 additions, 0 deletionssql/updates/4/192
- tbsetup/os_setup.in 0 additions, 8 deletionstbsetup/os_setup.in
- tbsetup/plab/libplab.py.in 5 additions, 4 deletionstbsetup/plab/libplab.py.in
- tbsetup/rmuser.in 9 additions, 1 deletiontbsetup/rmuser.in
- utils/opsdb_control.in 7 additions, 6 deletionsutils/opsdb_control.in
- wiki/wikisetup.in 11 additions, 11 deletionswiki/wikisetup.in
- www/approveuser.php3 5 additions, 1 deletionwww/approveuser.php3
Loading
Please register or sign in to comment