Yii Framework Forum: Yii User Extension - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii User Extension access rules on yii user extension Rate Topic: -----

#1 User is offline   d^_^b 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 04-April 13

Posted 04 April 2013 - 09:13 AM

hi,
I am using yii-user and right extensions.
I cannot deny access to view list of access.
i am using
return array(
 array('allow',  // allow only admin and user roles to perform 'index' and 'view' actions
   'actions'=>array('index','view',),
   'users'=>array('admin'),
   ),
  array('deny',  // deny all users
   'users'=>array('*'),
  ),
);


but when i go to myapp/index.php/user without login i can see the list of user.
what i am doing wrong?
thx in advance
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users