MantisBT - TestLink
View Issue Details
0002403TestLinkUsers and Rightspublic2009-04-20 18:132011-02-06 17:56
przemilke 
fman 
normalfeature requestN/A
closedfixed 
1.8.0 
1.9 (Prague) 
Any browser
5.2.2
0002403: Role <no rights> for new Test Plans
I wrote another piece of code...

I've over 50 users right now.

Before: When I was creating new test plan, the next step was to give rights for users for the new test plan. In practice this activity take a long time... In many cases you have to take off role (change) inherited role (to testproject) from test plan - many times to <no rights>. It happen because for one Test Plan I have to choose only few of my 50 testers. Its easier to change only few of role from <no rights> to <tester>, that change 40 times <tester> to <no rights>

In fact i've changed (add) code only in planEdit.php

Now:
1.) New Test Plan -> Create Test Plan
2.) Users -> Assign Role to Test Plan - every users's role, besides admin, for the new test plan is <no rights> (for admin <inherited>)
If you are interested in my code review please right in...
No tags attached.
? planEdit.php (9,405) 2009-04-21 17:07
http://mantis.testlink.org/file_download.php?file_id=986&type=bug
? planEdit2.php (11,607) 2010-11-18 22:43
http://mantis.testlink.org/file_download.php?file_id=1977&type=bug
Issue History
2009-04-20 18:13przemilkeNew Issue
2009-04-20 18:13przemilkeBrowser => Any browser
2009-04-20 18:13przemilkePHP Version => 5.2.2
2009-04-21 16:17fmanNote Added: 0006493
2009-04-21 16:17fmanStatusnew => assigned
2009-04-21 16:17fmanAssigned To => fman
2009-04-21 16:18fmanStatusassigned => feedback
2009-04-21 17:07przemilkeFile Added: planEdit.php
2009-04-21 17:09przemilkeNote Added: 0006496
2009-05-14 14:35mhavlatStatusfeedback => acknowledged
2009-05-14 14:35mhavlatCategoryNew Feature => Users and Rights
2010-11-18 22:41przemilkeNote Added: 0012655
2010-11-18 22:43przemilkeFile Added: planEdit2.php
2010-11-19 07:48fmanNote Added: 0012658
2010-11-20 07:52fmanStatusacknowledged => feedback
2011-01-06 18:47fmanNote Added: 0013201
2011-01-06 18:47fmanStatusfeedback => resolved
2011-01-06 18:47fmanFixed in Version => 1.9 (Prague)
2011-01-06 18:47fmanResolutionopen => fixed
2011-02-06 17:56fmanStatusresolved => closed

Notes
(0006493)
fman   
2009-04-21 16:17   
Please attach ALWAYS contribution, to be review.
OK attach your code here and I will review
(0006496)
przemilke   
2009-04-21 17:09   
Code attached
(0012655)
przemilke   
2010-11-18 22:41   
My solution is still alive on version 1.9.0 after small modification. The new file is in attachments.

I think that finally this action should be cotrolled from config.inc.php level, but I wrote this code very fast... Enjoy!
(0012658)
fman   
2010-11-19 07:48   
Give a look to new feature on 1.9 Test Plan can be PRIVATE
(0013201)
fman   
2011-01-06 18:47   
no more user feedback