Commits

Jason Green committed 38be22c

Fixing issue with non-admin users not being able to post on user's profile pages.

Comments (0)

Files changed (1)

app/protected/modules/users/controllers/DefaultPortletController.php

     {
         /**
          * Override to exclude details
-         * because this action are checked using the
-         * resolveCanCurrentUserAccessAction method.
+         * because this action cannot be checked for UsersModule since some users do not have access to the users module
+         * but can still access other user's profiles.
          */
         public function filters()
         {
             }
             return $filters;
         }
-
-        public function actionDetails($id)
-        {
-            UserAccessUtil::resolveCanCurrentUserAccessAction(intval($id));
-            parent::actionDetails($id);
-        }
     }
 ?>