Bug 1306103 - You should not be able to set a a role to a disabled user
Summary: You should not be able to set a a role to a disabled user
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: 5.0
Assignee: Matt Tyson 🤬
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-10 02:14 UTC by Jeff Fearn 🐞
Modified: 2018-12-09 06:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-18 05:02:02 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.