Closed
Bug 704461
Opened 13 years ago
Closed 13 years ago
Check if user exist in group
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kapila.kohli, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2 Steps to reproduce: I created a group-X & went into code level to check if any user is mapped to group-X or not.For this is went to file ="Bugzilla/User.pm" where function "in_group" has the way out. now when i check @"./template/en/default/bug/edit.html.tmpl" [% IF = user.in_group(Param('GRP_X')) %] In data/params have entered entry - 'GRP_X' => ' ' Actual results: this doesn't give me correct data rather gives 0 Expected results: instead it should give 1. please suggest where am i going wrong.
Comment 1•13 years ago
|
||
This is a support question. Also, you cannot simply edit data/params and expect things to work. See http://www.bugzilla.org/support for help.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•