MantisBT - v2.3 Release (Closed)
View Issue Details
0000746v2.3 Release (Closed)[All Projects] Generalpublic2011-03-13 14:502011-03-24 09:51
Assigned Tocaseydk 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.3 
Summary0000746: Deleting ALL user roles leaves the system in an undefined state.
DescriptionIt's possible to delete all user roles including the Administrator role. A system without roles is undefined as most modules rely on a properly defined roles database (not empty). Even after i added a new Administrator role, i couldn't login again which is a serious problem.

I think it makes sense to exclude the Administrator role from being deleted.
( I didn't check this yet, but excluding the admin user from deletion would most likely also prevent a lot of problems)
TagsNo tags attached.
Attached Files

2011-03-19 23:49   
adjusted the Role list so you can't delete an admin;
added some safeguards to make sure any Admin role cannot be deleted;
this is resolved in r1748 and will be in the pending v2.3 release
2011-03-24 09:51   
Closed in preparation for v2.3 release.

Issue History
2011-03-13 14:50TheoVanDerWeijstNew Issue
2011-03-16 22:02caseydkProjectv2.2 Release (Closed) => v2.3 Release (Closed)
2011-03-19 23:49caseydkNote Added: 0001728
2011-03-19 23:49caseydkStatusnew => resolved
2011-03-19 23:49caseydkResolutionopen => fixed
2011-03-19 23:49caseydkAssigned To => caseydk
2011-03-24 09:51caseydkNote Added: 0001775
2011-03-24 09:51caseydkStatusresolved => closed
2011-03-24 09:51caseydkFixed in Version => 2.3