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. (empty_aux_item_definition): Added value for owner_delete. (simple_aux_item): Ditto. (check_delete_aux_item_list): Add owner parameter. Check owner_delete to see if object owner may delete item.
Showing with 28 additions and 12 deletions