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.

Timesheets are considered to be external and are only registered in ldap
for a user, not the project. So it doesn't need to be created when a
project is created but probably when a user is added.

>
> 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.
I think so. Its probably very annoying if you create a project by
mistake and can't clean up the mess.
>
> 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).
>
I think projects already have a state (archived/active) so this should
already work. The list are filtered in the clients on this information.

> 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?/*

I think the same goes here as for the projects. Only let them be
deletable if they are not registered in a timesheet. You can check that
by querying the timesheets for that project. See the report utility on
how to do that.

Regards,
Ivo

>
> Saludos!
> Flavia


-------------------------------------------------------------------------
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