Accessrules - Deny All Logged In Users, But Allow Not Registered Users

Hello there,

I have tried to filter out users to access some actions.

I wanna allow all the unregistered users but I wanna deby any logged-in users

the code I tried is below, please tell me what I did wrong…

Thanks,

Jae

array(‘deny’, // deny all users

'actions'=>array('action1','action2'),


'users'=>array('@'),

),

sorry, nvm.

I got it!

array(‘allow’, // deny all users

‘actions’=>array(‘action1’,‘action2’),

‘users’=>array(’?’),

),