How to have the palette display the nodes based on a criteria

We have a palette that displays few custom nodes. But these nodes should not be visible to all users. So we need a conditional display on the nodes in the palette.

Any help would be highly appreciated.

The palette is a fixed menu. You can add a condition when adding the entries initially, but these won’t be dynamically updated. If you want to update the entries based on modelling actions, you should use the context pad menus.

Implement logic within your application to determine which nodes should be visible to a user based on their role or permissions. This can be done in your application’s code or database.