- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 02:55 AM
Hello All,
We no longer want to use the HRSD module. Initially, our requirement was to uninstall the HRSD module, but since uninstalling is not possible, we have deactivated the all HRSD module. Now, we also want to hide all HRSD roles from the roles table, as well as prevent these roles from appearing in the slushbucket during role assignment to user.
We noticed that there is a "Delete" option available on the role records. We would like to know : is deleting the roles the correct approach? Could it cause any unintended impact elsewhere in the system? What would be the recommended solution for addressing our concern?
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 03:06 AM
@akshay jadhav Instead of deleting the roles, I recommend creating a query business rule on sys_user_role table to filter all the roles related to HR. You can also achieve this by creating a read ACL on sys_user_role table check for role in condition and give access to these roles if they an elevated role (e.g. admin).
Hope this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 03:02 AM
Hi,
If you are no longer using the roles or the plugin then i don't see an issue in deleting them.
Before you delete make sure that these roles don't inherit a role that will impact negatively users that have this role.
Also make sure you take this role away form users before deleting it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 03:44 AM
Hello Anurag,
Thanks for reply,
I came across information on Google stating that missing roles in an instance could potentially cause errors during an upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 03:50 AM
It might but you essentially are not using that role.
The only other way would be what Sandeep Suggested but it will be a lot of processing as that query would run a lot, each time a role is added to any user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 04:58 AM
Yes, you are right, but it has to be done that way; otherwise, the instance will always generate error records after an upgrade.