* Include the MOVE command in the new delete access controls
authorArt Cancro <ajc@citadel.org>
Wed, 28 Mar 2007 20:35:59 +0000 (20:35 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 28 Mar 2007 20:35:59 +0000 (20:35 +0000)
citadel/msgbase.c

index 6dcef952e55518aa7b8d4e9250ecb8b7cd4241ed..c76c7fa8bc8779b1e55d1ca64881bef007827c9f 100644 (file)
@@ -3786,6 +3786,9 @@ void cmd_move(char *args)
           && (!(CC->room.QRflags & QR_MAILBOX))
           && (qtemp.QRflags & QR_MAILBOX)) permit = 1;
 
+       /* Permit message removal from collaborative delete rooms */
+       if (CC->room.QRflags2 & QR2_COLLABDEL) permit = 1;
+
        /* User must have access to target room */
        if (!(ra & UA_KNOWN))  permit = 0;