Hide a Role

akshay jadhav
Tera Contributor

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

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@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.

View solution in original post

7 REPLIES 7

Sandeep Rajput
Tera Patron
Tera Patron

@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.

Yes, Sandeep, I will look into that way

@akshay jadhav Please mark the response accepted solution if it addressed your question.