Omitting inactive projects from project selection combo box

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
amxtcmadmins
TestLink user
Posts: 1
Joined: Thu Jan 29, 2009 2:59 pm

Omitting inactive projects from project selection combo box

Post by amxtcmadmins »

Anyone know how to omit inactive projects from the test project selection combo box in the navbar?

We’re using many projects and our project count is becoming quite large. Marking projects inactive does not seem to remove them from the combo box selection list.

I thought about using user rights, but this seemed inefficient for long term use.

Any assistance with this issue would be appreciated.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

Currently, that is handled by user's rights/roles.

Here's the function's comment header that handles that generation:
get list of testprojects, considering user roles.

Remember that user has:
1. one default role, assigned when user was created
2. a different role can be assigned for every testproject.

For user roles that do not have right to modify testprojects
only active testprojects are returned.
If you might have a better suggestion/idea though, please enter a feature request through the tracker.
Post Reply