Delete user should remove menu / page security

Bug #879235 reported by Dan Garner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Dan Garner

Bug Description

Not able to delete a user. It says "this user has been active, you may only retire them".

The log says this:

Delete User Error Log:

<errormsg>This user has been active, you may only retire them.</errormsg>
<errornum>256</errornum>
<errortype>User Error</errortype>
<scriptname>C:\xampp\htdocs\Xibo\lib\pages\user.class.php</scriptname>
<scriptlinenum>259</scriptlinenum>

Delete Group Error Log:

<errormsg>The query [DELETE FROM `group` WHERE groupid = 4] failed to execute<br />MySQL error: Cannot delete or update a parent row: a foreign key constraint fails (`xibo`.`lkmenuitemgroup`, CONSTRAINT `lkmenuitemgroup_ibfk_1` FOREIGN KEY (`GroupID`) REFERENCES `group` (`groupID`))</errormsg>
<errornum>1024</errornum>
<errortype>User Notice</errortype>
<scriptname>C:\xampp\htdocs\Xibo\lib\pages\group.class.php</scriptname>
<scriptlinenum>545</scriptlinenum>

Why can't I delete? I have no option to retire a user?

Related branches

Dan Garner (dangarner)
Changed in xibo:
milestone: none → 1.3.2
Revision history for this message
Dan Garner (dangarner) wrote :

Work in progress... lots of things to consider when deleting a user. Started by correctly detecting everything that will prevent a clean delete - before we start the delete process.

Changed in xibo:
status: New → In Progress
assignee: nobody → Dan Garner (dangarner)
importance: Undecided → Low
Dan Garner (dangarner)
Changed in xibo:
milestone: 1.3.2 → 1.3.3
Dan Garner (dangarner)
Changed in xibo:
status: In Progress → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.