Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cathay
CN
Last activity: 11 Nov 2024 9:22 EST
why I can not delete a access role name in production ruleset
why I can not delete a access role name in production ruleset.
This rule is for testing some changes, I cannot delete other associated 'Access of Role to Object'.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-03/0616cffa-1530-4cde-abff-fac83e4635bf.jpg?h=658174c2&itok=sY2fYdoO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-03/0616cffa-1530-4cde-abff-fac83e4635bf.jpg?h=658174c2&itok=sY2fYdoO)
Maantic Inc
IN
Can you try after removing the privileges and AROs from the role?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cathay
CN
@SohamM95 I cannot delete AROs because they are all useful. I just saved the access role as in the production rule set for testing, and there is still a formal version available. I just want to delete the test version now that the testing is over.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-03/0616cffa-1530-4cde-abff-fac83e4635bf.jpg?h=658174c2&itok=sY2fYdoO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-03/0616cffa-1530-4cde-abff-fac83e4635bf.jpg?h=658174c2&itok=sY2fYdoO)
Maantic Inc
IN
That is the reason why its not deletable. Even if you delete the production ruleset version, the original version will stay so it should not impact testing.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cathay
CN
There are no other AROs in the production rule set. Only one access role name. I only want to delete this access role name.
The other AROs are in the formal ruleset and cannot be deleted. They did not make any modifications.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2025-01/ed367f4c-2f6a-469f-aa42-351a5040c2f6.jpg?h=5df8b6ee&itok=tYc6HMZv)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2025-01/ed367f4c-2f6a-469f-aa42-351a5040c2f6.jpg?h=5df8b6ee&itok=tYc6HMZv)
Pegasystems Inc.
CA
First, you have to remove AROs associated with the Access Role Name, and then you should be able to delete it.
Updated: 7 Nov 2024 20:34 EST
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cathay
CN
@RameshSangili I cannot delete AROs because they are all useful. I just saved the access role as in the production rule set for testing, and there is still a formal version available. I just want to delete the test version now that the testing is over.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/da7084b9-a9c3-461b-afcc-b04a6c62dff4.png?itok=kHpAAuH4)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/da7084b9-a9c3-461b-afcc-b04a6c62dff4.png?itok=kHpAAuH4)
Pegasystems Inc.
GB
As shown by the error, this validation is added to prevent orphan RARO objects.
I believe discussions to change the functionality in the past were rejected (BUG-415181) because allowing role deletion from lower versions may not be possible in all cases. There could be some other access group in the system which have access only to lowest version like Sales Force Automation etc. In this case it is inappropriate to delete the role as deletion could result in orphan RARO objects.
General practice is not to delete the older versions of any rule but to change their availability to No/Withdrawn.