another one that should have been send to the list -------- Originele bericht -------- Onderwerp: Re: [chamilo-dev] Anonymous user Datum: Fri, 10 Jun 2011 16:08:20 +0200 Van: Nathalie Blocry <nblo...@vub.ac.be> Aan: Philippe Van Eerdenbrugghe <philippe.vaneerdenbrug...@vinci.be>
Hi Philippe, it should not break the retrieve_anonymous_user() function because that function is supposed to return false when there are no anonymous users on the system. so if removing the anonymous user breaks the function it was really already broken beforehand. it was changed because not all applications are ready to be used with an anonymous user (no checking of rights) so no by default there is no anonymous user, but if you want one you can enable one but you have to make sure all the applications you have installed are able to handle the anonymous user. i have only implemented it for the handbook app, portfolio app, and weblcms since that are the only ones we will be using and we really do need anonymous access but I don't have time to implement/fix it in all the optional apps) kind regards, Nathalie Op 06/10/2011 03:54 PM, Philippe Van Eerdenbrugghe schreef: > Dear all, > > There is a problem with the anonymous user : > > the 17th of may there was the revision 8b6e88bcd150 changing the > user_installer.class that way : > > - $user->set_status(User :: STATUS_ANONYMOUS); > + //$user->set_status(User :: STATUS_ANONYMOUS); > + $user->set_status(User :: STATUS_STUDENT); > > > This is breaking the UserDataManager :: retrieve_anonymous_user() > function. > > I've written a test to not forget that problem but can someone explain > me why was that change ? > > > Systho > > _______________________________________________ > Dev mailing list > Dev@lists.chamilo.org > http://lists.chamilo.org/listinfo/dev >
_______________________________________________ Dev mailing list Dev@lists.chamilo.org http://lists.chamilo.org/listinfo/dev