Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Cannot delete role
Cannot delete role [message #4205] Tue, 03 June 2014 22:04 Go to next message
kong is currently offline  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 messageGo to next message
AJM is currently offline  AJM
Messages: 2371
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.

Re: Cannot delete role (Closed) [message #4213 is a reply to message #4208] Wed, 04 June 2014 19:44 Go to previous message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
Got it. Thanks.
Previous Topic: List User Update Multiple
Next Topic: Error after login (with Postgresql database)
Goto Forum:
  


Current Time: Wed Nov 27 04:38:24 EST 2024

Total time taken to generate the page: 0.01287 seconds