Flavia Paganelli wrote:
> 
>>>>     4) For the (future) user(s) of OpsAdmin: if you want to delete a 
>>>> project, you want to physically remove it from LDAP?
>>>>
>>>>         In other words... deleting a project should be the inverse 
>>>> operation of creating one?
>>>>   
>>>>       
>>> Good question. That would be one way. I myself would like it if projects 
>>> could have an archived state, but I don't know what weighs heavier; the 
>>> need to archive things or the need to keep a clean ldap tree...
>>>     
>>
>> I'd rather not delete projects, because of the impact in e.g. time sheets.
>>
>> What else needs to be removed if a project was to be removed?
>>
>>   
> If by deleting a project we mean the inverse operation of creating it, 
> also the IMAP folder for the project mails has to be removed. What about 
> the timesheet? */Who/how is the timesheets created now? Do we have to 
> create it when the project is created?/* For the rest, I think that 
> there's nothing else.
> 
> In this context, a deletion of a project would mean clearing everything 
> related to it and forgetting that it ever existed. I reckon it would 
> only be useful for cases like:
>  - creating the project by mistake, or
>  - cancelling the project even before it started.
> 
> Otherwise, if there are already hours assigned in the timesheet and 
> mails sent, all of it would be lost (if we remove the timesheet), and in 
> most of the cases we don't want that.
> 
> */So do we want this operation? /*It's not so useful and it is complex 
> and a bit 'dangerous', I wouldn't implement it now.
> 
> The other option is archiving: /*Shall we analyze adding an 'archived' 
> state? Is it useful?*/
> In this case we should just be careful that the other OPS applications 
> are not affected by this new state. If they always look for 'active' 
> projects I can't think of negative consequences right now. But we should 
> think a bit more. There's also what Ivo says, if we want to keep the 
> ldap tree clean. But we are not keeping it clean or small with the other 
> type of delete, because a project wouldn't be deleted unless it has 
> nothing in it (very rare).
> 
> Something else... what about deleting tasks? Once a task is created, 
> there can be hours associated to them in the timesheet (and maybe they 
> can be referenced in other ways I don't know). */So can the tasks be 
> deleted? Maybe the solution is, before deleting anything, add 
> corresponding checks (if there are hours associated, don't delete, or 
> give a warning)? Is it possible to know if a project/task is referenced 
> in a timesheet? Accessing the ics, I guess?/*

Nice thoughts. I'd go for: you can only delete a project (or a task) if 
no emails and no hours have been registered to it. This way, the total 
hours registered will stay in tact, and accidental creations can be 
reverted.

What do our students think?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ops-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ops-developers

Reply via email to