Commit 614c4f11 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fix error codes for query-read-texts, query-read-texts-old and

sub-member.  (Bug 161, Bug 703, Bug 43 and Bug 612).
parent d9d899f6
2002-08-10 Per Cederqvist <ceder@ceder.dyndns.org>
Fix error codes for query-read-texts, query-read-texts-old and
sub-member. (Bug 161, Bug 703, Bug 43 and Bug 612).
* src/server/person.c: "kom-errno.h" must now be included
before "manipulate.h".
(do_query_read_texts): Fix error code computations. Previously,
ENA(admin,4) was needed. Now, ENA(admin,2) or ENA(wheel,8) is
enough. (Bug 161 & Bug 703).
* src/server/membership.c (enum memb_visibility): Moved to
manipulate.h.
(membership_visible): No longer static.
(sub_member): Improve error code computations. (Bug 612 & Bug 43).
* src/server/manipulate.h (enum memb_visibility): Moved here from
membership.c.
(membership_visible): Now exported from membership.c.
(set_conf_errno): New function.
* src/server/conference.c: "kom-errno.h" must now be included
before "manipulate.h".
(set_conf_errno): New function.
* src/server/admin.c: "kom-errno.h" must now be included before
"manipulate.h".
* src/server/aux-items.c: Ditto.
* src/server/dbck.c: Ditto.
* src/server/send-async.c: Ditto.
* src/server/server-config.c: Ditto.
* src/server/session.c: Ditto.
* src/server/standalone.c: Ditto.
* src/server/text.c: Ditto.
* src/server/testsuite/lyskomd.0/27.exp: Bug 703 is fixed.
* src/server/testsuite/lyskomd.0/bug-37-4.exp: Bug 703 is fixed.
* src/server/testsuite/lyskomd.0/bug-612.exp: Test cases for bug
612.
* doc/Protocol-A.texi (sub-member): Document the value of
error-status for permission-denied errors.
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:
......
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