Not able to delete user or user groups

Asked by Charles Gonzales

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?

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

At the moment Xibo doesn't support deleting users that have been used in any way (or retiring users as you have noticed). This includes any user specific menu / page security settings that have been assigned.

Im sure this could be improved in the future.

Revision history for this message
Dan Garner (dangarner) said :
#2

I've created a bug for removing the menu / page security. The situation will be the same as it is now if the user has layouts / media.

Perhaps you could submit a blueprint for retiring a user.

Can you help with this problem?

Provide an answer of your own, or ask Charles Gonzales for more information if necessary.

To post a message you must log in.