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

(conf_stat_check_add_aux_item_list): Removed confusing comment.

parent 4899e46b
/*
* $Id: aux-items.c,v 1.37 2001/12/29 22:57:42 ceder Exp $
* $Id: aux-items.c,v 1.38 2001/12/30 22:22:05 ceder Exp $
* Copyright (C) 1994-2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1072,6 +1072,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
* START_LOOKING_AT is the first index in add_to_list to start
* looking at for possible duplicates.
* CREATING is true if we are checking while creating an object.
* OBJECT_TYPE is the type of the object the item is added to.
*/
static Bool
......@@ -1131,6 +1132,7 @@ aux_item_add_perm(const Aux_item *item,
return FALSE;
}
/* FIXME (bug 334): is_strictly_supervisor() or is_supervisor()? */
/* 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
......@@ -1145,6 +1147,7 @@ aux_item_add_perm(const Aux_item *item,
return FALSE;
}
/* FIXME (bug 334): is_strictly_supervisor() or is_supervisor()? */
/* 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
......@@ -1840,14 +1843,6 @@ conf_stat_check_add_aux_item_list(Conference *conf,
return FAILURE;
}
/* If CONF is non-NULL it already exists. We consider conf to be
* its own "object creator" since this means that author_only
* will allow only the supervisor of the conference to set
* the aux_item (the conference creator is irrelevant here, as
* everywhere else.) The semantics of supervisor_only will
* mimic author_only.
*/
if (!aux_item_add_perm(item,
def,
creator,
......
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