Show/hide row actions in an application based on permissions

Is there a way to show/hide row actions in an application based on permissions? Looking for the best approach to cater this requirement. Thanks!

@richa.dubey good question – it is not possible to conditionally hide row actions with security. However, we do have an enhancement request entered to support this someday. What are the details of your use case? Maybe there is another option we can look into.

1 Like

@bethany.k I have added a row action in the Customer/Employee/Vendor apps to rename the quick entry code for a given customer/employee/vendor. This row action should be controlled by role-based permission so that only select users - like Controller (Customer/Vendor/Employee) and Payroll Clerk (Employee) - can use this new action. Is there a way to achieve this requirement?

@richa.dubey what Bethany wrote above is correct. Currently you can restrict access to the application or logic of the row action but this does not hide the row action from view. This means a role without proper permissions can click but will receive an error.

So depending on the exact details of the requirement (Need to hide) the spirit of what you are requesting is possible. It may not be 100% realized though.

1 Like

You can use application settings to hide and show row actions, and you can have different application settings secured with menus. You can find information in Nextworld Help that describes how to set up this configuration.

@jillene.r, that does require 2 different menu options and additional security objects for the same application. Not a lot of overhead but nonetheless. Is that a common solution you’ve had to implement?

@Aaron.C, I have not implemented it. I agree it will require additional menus and security objects to configure this. I don’t think there is another option to hide the row actions until we receive the enhancement mentioned above.

2 Likes

Thanks for advising on the workaround! I will check if that is acceptable as per our requirement.