How to hide menu under condition?

Hi Everyone,

Is there a method to hide the side menu based on a condition? For example, in the user table, I have a social_login column. If social_login has a value of 1, I want to hide a specific menu item (e.g., Settings).

Any suggestions?
Was this page helpful?