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

get-membership and get-membership-old didn't always honor

unread-is-secret.  (Bug 607).  (Bug 608).  get-members and
get-members-old leaks secret persons.  (Bug 705).
parent 13758b5d
2002-08-10 Per Cederqvist <ceder@ceder.dyndns.org>
get-membership and get-membership-old didn't always honor
unread-is-secret. (Bug 607). (Bug 608).
* src/server/membership.c (copy_public_confs): New argument:
pers_no. Caller updated. Use membership_visible to simplify code
and fix bugs 607 and 607.
* src/server/testsuite/lyskomd.0/bug-37-3.exp: Bug 607 and bug 608
are now fixed.
* src/server/testsuite/lyskomd.0/bug-37-4.exp: Ditto.
get-members and get-members-old leaks secret persons (Bug 705).
* src/server/membership.c (membership_visible): New arguments:
is_supervisor_of_member, is_supervisor_of_conf. Callers updated.
Avoid calling access_perm if possible. Grant full access if
ENA(admin,2) or ENA(wheel,8), as do_get_members did.
(do_get_members): Use membership_visible to simplify code, and fix
bug 705.
* src/server/testsuite/lyskomd.0/bug-37.exp: Bug 705 fixed.
Minor doc fix.
* doc/Protocol-A.texi (Membership visibility): Markup fixed.
* doc/constructs.expected: Updated.
Fix membership visibility for get-unread-confs. (Bug 597).
* src/server/membership.c (enum memb_visibility): New enum.
(check_unread): New static function.
......
Markdown is supported
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