* Removed the configuration option "Allow Aides access to all mailboxes."
authorArt Cancro <ajc@citadel.org>
Sat, 19 Jun 2004 02:33:55 +0000 (02:33 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 19 Jun 2004 02:33:55 +0000 (02:33 +0000)
  This functionality *must* always be enabled for administrative create/edit
  of vCards, which live in the user's My Citadel Config> room.

citadel/ChangeLog
citadel/citadel.h
citadel/control.c
citadel/room_ops.c
citadel/routines2.c
citadel/techdoc/session.txt

index 689ba63123bd861d16175261a9821057d20bab35..0587e53c100da04842e999eb7ac34fe8152517d6 100644 (file)
@@ -1,4 +1,9 @@
  $Log$
+ Revision 621.17  2004/06/19 02:33:54  ajc
+ * Removed the configuration option "Allow Aides access to all mailboxes."
+   This functionality *must* always be enabled for administrative create/edit
+   of vCards, which live in the user's My Citadel Config> room.
+
  Revision 621.16  2004/06/16 04:17:43  ajc
  * More scheduler changes.  Removed the rescan pipe again, and also
    removed the mutex wrapper around select().  In my initial testing I am
@@ -5855,3 +5860,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 3b8ccd7acff319493fce16aa3f7cc2753fbc3a02..686c61389e912fb151781714edf3c28d485e02a9 100644 (file)
@@ -125,7 +125,7 @@ struct config {
        int c_imap_port;                /* IMAP listener port (usually 143) */
        time_t c_net_freq;              /* how often to run the networker   */
        char c_disable_newu;            /* disable NEWU command             */
-       char c_aide_mailboxes;          /* give Aides access to mailboxes   */
+       char c_niu_4;                   /* (not in use)                     */
        char c_baseroom[ROOMNAMELEN];   /* Name of baseroom (Lobby)         */
        char c_aideroom[ROOMNAMELEN];   /* Name of aideroom (Aide)          */
        int c_purge_hour;               /* Hour during which db purges run  */
index e0a6dfd5dd24b31ed8dd83eb80b7ce78f926e102..6b05750aadb290d510ab3c765c2b64a3cd0aa1d6 100644 (file)
@@ -194,7 +194,7 @@ void cmd_conf(char *argbuf)
                cprintf("%d\n", config.c_imap_port);
                cprintf("%ld\n", config.c_net_freq);
                cprintf("%d\n", config.c_disable_newu);
-               cprintf("%d\n", config.c_aide_mailboxes);
+               cprintf("1\n"); /* no longer in use */
                cprintf("%d\n", config.c_purge_hour);
 #ifdef HAVE_LDAP
                cprintf("%s\n", config.c_ldap_host);
@@ -338,9 +338,7 @@ void cmd_conf(char *argbuf)
                                        config.c_disable_newu = 1;
                                break;
                        case 30:
-                               config.c_aide_mailboxes = atoi(buf);
-                               if (config.c_aide_mailboxes != 0)
-                                       config.c_aide_mailboxes = 1;
+                               /* no longer in use */
                                break;
                        case 31:
                                if ((config.c_purge_hour >= 0)
index 9b5b278309d5cbeebfae4f392d855bf5bf030498..a4c2f5ff601b80fe57ce8073c3386cf0705d6d77 100644 (file)
@@ -140,9 +140,10 @@ int CtdlRoomAccess(struct ctdlroom *roombuf, struct ctdluser *userbuf)
                }
        }
 
-       /* On some systems, Aides can gain access to mailboxes as well */
-       if ( (config.c_aide_mailboxes)
-          && (userbuf->axlevel >= 6)
+       /* Aides can gain access to mailboxes as well, but they don't show
+        * by default.
+        */
+       if ( (userbuf->axlevel >= 6)
           && (roombuf->QRflags & QR_MAILBOX) ) {
                retval = retval | UA_GOTOALLOWED;
        }
@@ -1742,8 +1743,7 @@ void cmd_cre8(char *args)
        }
 
        if (new_room_type == 5) {
-               if ((config.c_aide_mailboxes == 0)
-                  || (CC->user.axlevel < 6)) {
+               if (CC->user.axlevel < 6) {
                        cprintf("%d Higher access required\n", 
                                ERROR + HIGHER_ACCESS_REQUIRED);
                        return;
index 66ff6d090fa2f468a88caafb55a1713b54c79f27..7d627ae2e27ede2cae28e505e7fc4613be69f54f 100644 (file)
@@ -714,9 +714,6 @@ void do_system_configuration(CtdlIPC *ipc)
        snprintf(sc[26], sizeof sc[26], "%d", (boolprompt(
              "Allow Aides to Zap (forget) rooms",
                                                     atoi(&sc[26][0]))));
-       snprintf(sc[30], sizeof sc[30], "%d", (boolprompt(
-             "Allow system Aides access to user mailboxes",
-                                                    atoi(&sc[30][0]))));
 
        if (strlen(&sc[18][0]) > 0) logpages = 1;
        else logpages = 0;
index 14645e62b1cf811b9b289ecd116d325dfb3397e0..d589b6e44a36745f481721179a3f535b4232bd92 100644 (file)
@@ -1788,13 +1788,13 @@ fails for any reason, ERROR is returned.
  28. Port number for IMAP service
  29. How often (in seconds) to run the networker
  30. Flag (0 or 1) - disable self-service new user registration
- 31. Flag (0 or 1) - Aides are allowed access to all mailboxes
+ 31. (placeholder -- this field is no longer in use)
  32. Hour (0 through 23) during which database auto-purge jobs are run
  33. Name of host where an LDAP service may be found
  34. Port number of LDAP service on above host
  35. LDAP Base DN
  36. LDAP Bind DN
- 37. PAssword for LDAP Bind DN
+ 37. Password for LDAP Bind DN
 
  CONF also accepts two additional commands: GETSYS and PUTSYS followed by an
 arbitrary MIME type (such as application/x-citadel-internet-config) which