projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebb859
)
* Include the MOVE command in the new delete access controls
author
Art Cancro
<ajc@citadel.org>
Wed, 28 Mar 2007 20:35:59 +0000
(20:35 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 28 Mar 2007 20:35:59 +0000
(20:35 +0000)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 6dcef952e55518aa7b8d4e9250ecb8b7cd4241ed..c76c7fa8bc8779b1e55d1ca64881bef007827c9f 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-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;