Red Hat Bugzilla – Bug 428008
RFE: Show the certification plan to people on the CC list
Last modified: 2014-06-23 20:14:39 EDT
Currently the hardware certification website only shows the certification plan
to the submitter and the reviewers. Other interested parties at the partner are
not able to see the certification plan.
We should give people on the CC list of a certification bug the same view as the
Created attachment 311685 [details]
1.Use "bug.cc.size > 0 && lsearch(bug.cc,user.login) != -1" as the judge
condition for people in the "CC" list.
2.In the @@ -93,6 +93,10 @@ of the edit.html.tmpl: show the testplan to the
people who is in the "CC" list while not in the "canedit" role.
(canedit role includes:
So if one person who isn't in the "canedit" role but in the "CC" list, afer
deploying this patch, he/she can see the below cert's info:
[clone] (IF user also canclone)
please have a look @ this patch & review.
Thank you very much.
Those people who are in the "CC" list can see the testplan view but can not
do any changes against testplan after above patch's deploying.
Created attachment 312390 [details]
Use below code:
[% oncc = 0 %]
[% FOREACH cc = bug.cc %]
[% IF user.login == cc %]
[% oncc = 1 %]
[% END %]
[% END %]
[% oncc = (bug.cc.size > 0 && lsearch(bug.cc,user.login) != -1) ? 1 : 0 %]
Does this last patch disable the cc users from setting the dropdown from patch
test passed on hwcert-web2