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

Document the "owner-delete" aux-item configuration parameter.

Back out the patch from Joel Rosdahl for now.
Whitespace fixes.
(Also added some missing info to the latest ChangeLog entry by David Byers.)
parent b9163fd2
2001-06-06 David Byers <>
2001-09-22 Per Cederqvist <ceder@moria>
Document the "owner-delete" aux-item configuration parameter.
* doc/lyskomd.texi (Aux-Item Definition File): Document
Back out the patch from Joel Rosdahl for now.
* src/server/text.c: Back out a patch from Joel Rosdahl that was
included in the last commit by David Byers. The patch is probably
good, but there was no changelog entry, and (more importantly) I
want to write test cases that illustrates the problem before
applying the fix.
Whitespace fixes.
* src/server/aux-items.c (check_delete_aux_item_list): Indentation
(aux_inherit_items): Indentation fix.
2001-09-22 David Byers <>
Port the test suite to a modern dejagnu.
* src/server/testsuite/config/unix.exp (l2g_start): Use
exp_continue instead of continue -expect.
(lyskomd_start, lyskomd_fail_start, dbck_run): Ditto.
* src/server/testsuite/lyskomd.0/11.exp: Use exp_continue instead
of continue -expect.
Test suite fixes.
* src/server/testsuite/lyskomd.0/01.exp: Expect aux-item 31, 32
and 10100-10104 to exist.
* src/server/testsuite/lyskomd.0/03.exp: Ditto.
* src/server/testsuite/lyskomd.0/18.exp: Ditto.
Added the "owner-delete" aux-item configuration parameter.
* src/server/aux-items.c (check_delete_aux_item_list): Rewrote
check for delete permissions as multiple if-elseif statements
instead of a compound expression, 'cause the compound expression
was getting just a little bit difficult to understand.
* run-support/aux-items.conf (redirect): Set owner-delete.
(x-face): Ditto.
(pgp-public-key): Ditto.
(e-mail-address): Ditto.
(faq-text): Ditto.
(allowed-content-type): Ditto.
* src/server/text.c (modify_text_info): Added author as owner
argument to check_delete_aux_item_list.
* src/server/admin.c (modify_system_info): Added zero as owner
argument to check_delete_aux_item_list.
* src/server/aux-item-def-parse.y (assign): Added owner-delete.
* src/server/aux-items.c (empty_aux_item_definition): Added
value for owner_delete.
(simple_aux_item): Ditto.
* src/server/aux-items.h: Added owner_delete parameter after
* src/server/aux-items.h (struct Aux_item_definition_s): Added
owner_delete field after may_not_delete.
(check_delete_aux_item_list): Added owner parameter.
* src/server/aux-items.c (check_delete_aux_item_list): Add owner
parameter. Check owner_delete to see if object owner may delete
* src/server/conference.c (modify_conf_info): Pass conference
supervisor to check_delete_aux_item_list.
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