sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

guest view profiles problem #199

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install application
2. run application
3. // set this to true to allow all users to access user profiles
public $profilesViewableByGuests = true;

What is the expected output? 
expected to view profiles without logging in. 

What do you see instead?
sent to login

4.tried removing this  array('deny',  // deny all users
                'users'=>array('*'),
            ),

What is the expected output? 
expected to view profile 

What do you see instead?
only the <div id=profile>...</div> and 
Call to a member function getFriends() on a non-object in 
/protected/modules/friendship/controllers/YumFriendshipController.php 

What version of the product are you using? On what operating system?
yii-1.1.12 yum 

Please provide any additional information below.
I though number 3 would resolve this as stated in the file.
I also thought I might be able to resolve this by creating an action and a role 
for guest user. 

Original issue reported on code.google.com by mmguide2...@googlemail.com on 14 Sep 2012 at 6:02