Changing the Category of a task

Discuss problems installing or using TrackStudio.

Changing the Category of a task

Postby PavelKolarik » Thu Mar 31, 2011 5:20 pm

I would very appreciate the new feature:
The category of a task could be changed by a user under these conditions:
a/ Both categories use the same workflow
b/ Category relation rules allow the new category to be contained in the task's parent

We need quite often to change a task's category eg. from Bug to Request, or from Request to ToDo as the task's history evolves and we want to keep the meaning of the categories. This feature would be nice for us.
PavelKolarik
 
Posts: 79
Joined: Thu Oct 19, 2006 10:32 am
Location: Opava, Czech Republic

Re: Changing the Category of a task

Postby admin » Sat Apr 02, 2011 12:27 pm

This feature can lead to security issue. Suppose, user can create/edit tasks, but not projects. With this feature available, users can create "bug" (he can), and then edit it (also can), and set category "project". But he cannot save project, and TrackStudio will crash.

So, you can change category with SQL when TrackStudio stopped, but not using web GUI.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7637
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: Changing the Category of a task

Postby a-b-c » Sat Apr 02, 2011 1:09 pm

Why not? Because of the first criteria (both categories use the same workflow) bug won't be converted to project.
Yes, there is a potential security problem when bugs and projects share the same workflow, but in my opinion advantages of such a feature outweigh that problem.
TrackStudio 4.0.18 x64
Windows SA + PostgreSQL 9.1
a-b-c
 
Posts: 599
Joined: Fri Jul 10, 2009 10:15 am
Location: Moscow, Russia

Re: Changing the Category of a task

Postby PavelKolarik » Mon Apr 04, 2011 11:14 am

admin wrote:So, you can change category with SQL when TrackStudio stopped, but not using web GUI.

Yes, I do change it this way. That exactly why I am asking for the feature :)

admin wrote:Suppose, user can create/edit tasks, but not projects. With this feature available, users can create "bug" (he can), and then edit it (also can), and set category "project". But he cannot save project, and TrackStudio will crash.

It is just a matter of validation, is not it? If you have good programmers, TrackStudio cannot crash in a situation like this.
PavelKolarik
 
Posts: 79
Joined: Thu Oct 19, 2006 10:32 am
Location: Opava, Czech Republic

Re: Changing the Category of a task

Postby admin » Wed Apr 06, 2011 1:48 am

PavelKolarik wrote:It is just a matter of validation, is not it? If you have good programmers, TrackStudio cannot crash in a situation like this.


It's very deep architecture feature. If user has no access to the task, he cannot reach it using SOAP, scripts/triggers, e-mail templates, and TrackStudio cannot finish operation in this case without error.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7637
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: Changing the Category of a task

Postby PavelKolarik » Wed Apr 06, 2011 9:13 am

admin wrote:It's very deep architecture feature. If user has no access to the task, he cannot reach it using SOAP, scripts/triggers, e-mail templates, and TrackStudio cannot finish operation in this case without error.


Yes Maxim, I can understand that as we are also developers of enterprise SW systems :-) But:
a/ It a difference between "finishing with an (handled) error" and "crashing"
b/ I think the list of possible new categories offered to the user can contain only "problem-less" categories (the same workflow, category relation rules OK, the user has "create" permission to the new category, etc...)
PavelKolarik
 
Posts: 79
Joined: Thu Oct 19, 2006 10:32 am
Location: Opava, Czech Republic


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron