Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0011862mantisbtadministrationpublic2011-10-07 09:01
Reporterjensberke Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.2.2Fixed in Version1.2.2 
Summary0011862: Access Level will always be set to "reporter" when editing user
Description

When you edit an existing user on the "Manage Users" page, the edit user page will always show the Access Level "reporter", no matter what the real Access Level of the user is. If you then save the user - and don't adjust the Access Level back to the user's real level - he'll become a reporter.

Steps To Reproduce

Go to "Mangage -> Manage Users"
In the list of users you'll see the "Access Level" displayed correctly
Click on a user name to edit it
"Acess Level" in the "edit user" box will now wrongly display "reporter", no matter what the user's real Access Level is
Click the "update user" button and the user will have become a reporter accidentally

Additional Information

My Mantis installation is one that was upgraded from 1.1.7 to 1.2.1 directly.

TagsNo tags attached.

Relationships

has duplicate 0011971 closeddhx Incorrect detection of users' access level 
has duplicate 0012034 closedatrol user role select field points always to reporter 
has duplicate 0012083 closedatrol Access level dropdown not set 
has duplicate 0012254 closedatrol Access level displayed on manage_user_edit_page and manage_user_page are different 

Activities

dhx

dhx

2010-04-29 00:07

reporter   ~0025345

Thanks for reporting this issue Jens! I've fixed it ready for the 1.2.2 release.

Related Changesets

MantisBT: master 101d87be

2010-04-29 00:02

dhx


Details Diff
Fix 0011862: Preselect user's current access level in dropdown

On manage_user_edit_page.php the access level of a user is always
preselected to be the default access level at which new user accounts
are created. We should instead try to preselect the user's current
access level from the list so that when the form is saved, the access
level of the user isn't changed by accident.

Also remove the fake [Default Access Level] option from the list as it
serves little to no useful purpose.
Affected Issues
0011862
mod - manage_user_edit_page.php Diff File
mod - core/print_api.php Diff File

MantisBT: master-1.2.x 2f0fd38d

2010-04-29 00:02

dhx


Details Diff
Fix 0011862: Preselect user's current access level in dropdown

On manage_user_edit_page.php the access level of a user is always
preselected to be the default access level at which new user accounts
are created. We should instead try to preselect the user's current
access level from the list so that when the form is saved, the access
level of the user isn't changed by accident.

Also remove the fake [Default Access Level] option from the list as it
serves little to no useful purpose.
Affected Issues
0011862
mod - core/print_api.php Diff File
mod - manage_user_edit_page.php Diff File