Commit fb9b72cb authored by Per Cederqvist's avatar Per Cederqvist

(aux_item_add_perm): Added FIXME comments.

parent 2639333a
/*
* $Id: aux-items.c,v 1.35 2001/12/29 09:52:25 ceder Exp $
* $Id: aux-items.c,v 1.36 2001/12/29 15:50:25 ceder Exp $
* Copyright (C) 1994-2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1127,6 +1127,10 @@ aux_item_add_perm(const Aux_item *item,
return FALSE;
}
/* FIXME (bug 334): the is_strictly_supervisor() call checks if
item_creator is supervisor of object_creator. The intention is
to check if item_creator is supervisor of conference X, where
X's supervisor is object_creator. */
if (def->author_only &&
owner_check &&
object_creator != item_creator &&
......@@ -1137,6 +1141,10 @@ aux_item_add_perm(const Aux_item *item,
return FALSE;
}
/* FIXME (bug 334): the is_strictly_supervisor() call checks if
item_creator is supervisor of object_creator. The intention is
to check if item_creator is supervisor of conference X, where
X's supervisor is object_creator. */
if (def->supervisor_only &&
owner_check &&
!is_strictly_supervisor(object_creator, item_creator, NULL) &&
......
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