This use-case is a demonstration of hiding of all Widgets for a Guest User (Not logged In).
Observer that no wordpress widgets are shown to users who are not logged In (see bottom of the page) and only product category and product search woocommerce widgets are shown. Now login to site using below link which demonstrates the use-case of showing the Widgets for logged in user, Check the widgets on right navigation.
Use the below demo authentication accounts.
User Name : krish
Role : Subscriber
Defined Logical rule.
Defined Widget Rule: