Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008321TestLinkTest Project Managementpublic2018-07-02 11:562018-07-09 09:25
Assigned To 
PrioritynormalSeverityfeature requestReproducibilityN/A
PlatformOSOS Version
Product Version1.9.17 (2018 Q1) 
Fixed in Version 
Summary0008321: Default Role for Test Project
DescriptionIn Test Project Management it should be possible to set the "default rights", resp. "default role" for the project.
Currently, the global user role for each Testlink user is inherited to every test project until it is changed manually for each individual user.

However, this is time-consuming, especially if new users are created.
The admins always have to grant special test project user roles to the new user.

If it was possible to setup a default role for each test project with standard value "inherited" which inherits the rights from global user role (= equal to current behavior), this would save a lot of administration time, especially if there are many projects in the database.
This would also make it possible that users don't generally get too many rights on all projects.
Steps To Reproduce- Go to "Test Project Management"
- Select your project
- there is no option to set the "default role" for the project.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL; MSSQL, PostgreSQL
PHP Version
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships
related to 0008326new Default Role for Test Plans 

-  Notes
fman (administrator)
2018-07-02 21:05
edited on: 2018-07-02 21:06

feel free to implement and provide code via pull request on github

hughkay (reporter)
2018-07-03 05:29

@fman: I was afraid that you'd say this ;-)
Well, I'll have to code this on my own then.
fman (administrator)
2018-07-03 06:01

IMHO it's ok that you provide this contribution to the community.
I've no time to implement all requests.
I consider this not essential, then if anyone out there implements it, it's OK then I will review before adding to code.

IMHO it's a fair solution
hughkay (reporter)
2018-07-03 10:34

I've completed the implementation and created a pull request.
Please check: [^]
hughkay (reporter)
2018-07-09 07:27

Updated pull request, implementing "default role" feature on test plans as well.
fman (administrator)
2018-07-09 07:43

you need to open a new ticket for "default role" feature on test plan
you need to do two different Pull Request, one for each feature
hughkay (reporter)
2018-07-09 07:47

@fman: Disagree.
As this is related to each other, it makes sense to introduce it as one feature "default role".
Unfortunately there's no way to change the title of the ticket.
fman (administrator)
2018-07-09 07:50

Please be kindly enough to follow my indications.
open a new issue and set related to this.
hughkay (reporter)
2018-07-09 08:04

Fine, I'm doing a second PR, as I am such a nice person.

Ticket "8326" created.
However, I'm not able to set a relationship to this ticket (probably due to lack of rights).
Please be so kind and add the relationship.

- Issue History
Date Modified Username Field Change
2018-07-02 11:56 hughkay New Issue
2018-07-02 21:05 fman Note Added: 0027654
2018-07-02 21:06 fman Note Edited: 0027654 View Revisions
2018-07-03 05:29 hughkay Note Added: 0027655
2018-07-03 06:01 fman Note Added: 0027656
2018-07-03 10:34 hughkay Note Added: 0027657
2018-07-09 07:27 hughkay Note Added: 0027667
2018-07-09 07:43 fman Note Added: 0027668
2018-07-09 07:47 hughkay Note Added: 0027669
2018-07-09 07:50 fman Note Added: 0027670
2018-07-09 08:04 hughkay Note Added: 0027671
2018-07-09 09:25 fman Relationship added related to 0008326
2018-07-09 09:25 fman QA Team - Task Workflow Status => TBD
2018-07-09 09:25 fman Summary Default rights for Test Project => Default Role for Test Project

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker