Cannot delete role [message #4205] |
Tue, 03 June 2014 22:04 ![Go to next message Go to next message](/theme/default/images/down.png) |
kong
Messages: 90 Registered: December 2011
|
Member |
|
|
When trying to delete a role which has been de-linked from any users, the system will display:
Cannot delete - record still linked to MNU_ROLE_TASK table
However, there is no way to de-link the role from start task and the associated tasks, because start task is a mandatory field in role. Consequently, cannot delete role.
|
|
|
Re: Cannot delete role [message #4208 is a reply to message #4205] |
Wed, 04 June 2014 04:58 ![Go to previous message Go to previous message](/theme/default/images/up.png) ![Go to next message Go to next message](/theme/default/images/down.png) |
AJM
Messages: 2361 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The message "Cannot delete - record still linked to MNU_ROLE_TASK table" indicates that there are records on the MNU_ROLE_TASK table for this role, and *not* the start task. You have to delete these records before you can delete the role. Select the role and press the 'Task Access' button to bring up the 'Link Task(s) to selected Role' screen. Press the 'Search' button and set the 'Selected' radio group at the bottom of the screen to 'Yes', then press 'Submit'. This will then return to the 'Link Task(s) to selected Role' screen and show all the tasks which are currently linked to that role. Press the 'unselect all' hyperlink to clear all the checkboxes, then press 'Submit' to update the database. Repeat until no more records exist. Now you will be able to delete the role.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|