MantisBT - TestLink
View Issue Details
0008321TestLinkTest Project Managementpublic2018-07-02 11:562018-07-09 09:25
normalfeature requestN/A
1.9.17 (2018 Q1) 
0008321: Default Role for Test Project
In 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.
- Go to "Test Project Management"
- Select your project
- there is no option to set the "default role" for the project.
No tags attached.
related to 0008326new  Default Role for Test Plans 
Issue History
2018-07-02 11:56hughkayNew Issue
2018-07-02 21:05fmanNote Added: 0027654
2018-07-02 21:06fmanNote Edited: 0027654bug_revision_view_page.php?bugnote_id=27654#r5539
2018-07-03 05:29hughkayNote Added: 0027655
2018-07-03 06:01fmanNote Added: 0027656
2018-07-03 10:34hughkayNote Added: 0027657
2018-07-09 07:27hughkayNote Added: 0027667
2018-07-09 07:43fmanNote Added: 0027668
2018-07-09 07:47hughkayNote Added: 0027669
2018-07-09 07:50fmanNote Added: 0027670
2018-07-09 08:04hughkayNote Added: 0027671
2018-07-09 09:25fmanRelationship addedrelated to 0008326
2018-07-09 09:25fmanQA Team - Task Workflow Status => TBD
2018-07-09 09:25fmanSummaryDefault rights for Test Project => Default Role for Test Project

2018-07-02 21:05   
(edited on: 2018-07-02 21:06)
feel free to implement and provide code via pull request on github

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.
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
2018-07-03 10:34   
I've completed the implementation and created a pull request.
Please check: [^]
2018-07-09 07:27   
Updated pull request, implementing "default role" feature on test plans as well.
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
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.
2018-07-09 07:50   
Please be kindly enough to follow my indications.
open a new issue and set related to this.
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.