Feature #2743
openAllow anonymous access and right management for anonymous user
0%
Description
A few application requires anonymous access:
wiki
*forum
*handbook
*anonymous blocks
...
Possible course of action:
*create an anomynous user with id 1 - I believe user 0 is already taken for some specific usage?
*on user request if not already logged in - auto login anomymous user if he is active
optional
*create an empty user pattern in code i.e. inherit from user, overwrite all methods to return proper
*if anonymous user is disable - i.e. the site admin do not want anonymous access - return the empty user
Refactor control access to avoid relying on user_id == 0
Updated by Stefaan Vanbillemont about 12 years ago
- Project changed from Chamilo LCMS Connect to Repository
- Category deleted (
21)
Updated by Nathalie Blocry almost 12 years ago
- % Done changed from 0 to 50
this has been implemented for the most part.
you can make an anonymous user with status 0 (you cannot set this status through the user-interface but must set it directly in the database)
not all applications are ready for an anonymous users though so there is no default anonymous user for the moment.
I have tested anonymous access with
- portfolio
- handbook
- weblcms
there is a method UserDataManager :: retrieve_anonymous_user() that returns the anonymous user or false when there is none.
when entering the platform without login in you will automatically be logged in as the anonymous user when there is one or not logged in when there is none. the login block will remain visible when you are logged in as the anonymous user so you can still switch to a real user.
what is left to do is check the other optional applications for strange/unwanted behavior
Updated by Stefaan Vanbillemont almost 12 years ago
- Target version changed from 2.1.0 to 55
Updated by Stefaan Vanbillemont almost 12 years ago
- Target version changed from 55 to Backlog (default)