Commit f268ca85 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fix membership visibility for get-unread-confs. (Bug 597).

parent 045222a3
2002-08-10 Per Cederqvist <>
Fix membership visibility for get-unread-confs. (Bug 597).
* src/server/membership.c (enum memb_visibility): New enum.
(check_unread): New static function.
(membership_visible): New static function, that fully implements
the membership visibility rules that were documented 2002-08-07.
(get_unread_confs): Use membership_visible to simplify the code
and use the correct membership visibility rules. Various code
* src/server/testsuite/lyskomd.0/bug-37-2.exp: get-unread-confs is
now better. Bug 597 fixed.
* src/server/testsuite/lyskomd.0/bug-37.exp: get-unread-confs now
fails in a different, and better, way for secret persons.
* src/server/testsuite/lyskomd.0/27.exp: query-read-texts-old,
query-read-texts and get-unread-confs should not censor the secret
conference, since the viewer is supervisor of the member.
2002-08-08 Per Cederqvist <>
Comment added.
* src/server/membership.c (sub_member): Added comments for bug
Code cleanup: remove global define of SMALLOC_MAGIC_ALLOC and
* src/server/ram-smalloc.c (SMALLOC_MAGIC_ALLOC): Moved here from
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment