Bug 1306103

Summary: You should not be able to set a a role to a disabled user
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: Bugzilla GeneralAssignee: Matt Tyson 🤬 <mtyson>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: huiwang, jmcdonal, mtahir, mtyson, qgong
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-18 05:02:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Fearn 🐞 2016-02-10 02:14:59 UTC
Description of problem:
Currently it's possible to set roles to disabled users. It should not be possible to do this unless the user is the default user for that role.

e.g. you should not be able to set the QA Contact to a user unless that user is the default QA Contact.

Comment 1 Hui Wang 2016-03-22 03:01:58 UTC
Verified this issue.
The result is PASS.
version 5.0.2.rh2

Steps:
1. Login with admin account
2. Disable a user: User1
3. New a bug for bugzilla
4. Set the QA Contact/Assignee/Doc Contact as User1 in the bug (User1 is not the default QA contact of any component of bugzilla)

Result:
The account User1 is disabled. Please select another user to assign this bug to.