CtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
authorArt Cancro <ajc@citadel.org>
Tue, 14 Sep 2010 13:50:32 +0000 (09:50 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 14 Sep 2010 13:50:32 +0000 (09:50 -0400)
commitec3a0d835a49bd6813d86245c5ff5257df89ae8f
treeedf34f53d17b87ad56cf4336c1b21f7791790eab
parentf7fa2cb3c9eee3efa7b685ba0dcf04882a743c0a
CtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
indicates that the user may post a message to this room *if* it is
a reply to an existing message.

CtdlDoIHavePermissionToPostInThisRoom() now must be told whether
the user is replying to an existing message or posting a top-level
message.  If it is a reply, UA_REPLYALLOWED is checked.  If it is
a top-level message, UA_POSTALLOWED is checked.  If UA_POSTALLOWED
is not set, but UA_REPLYALLOWED is set, and the message is not a
reply, a new error message indicates that the user may only reply
to existing messages.  I may add a new error code for this later.
citadel/ipcdef.h
citadel/msgbase.c
citadel/msgbase.h
citadel/room_ops.c