Anonymous Browsing / #2665

In environments like this page, it is useful to make information available to users without an account. The earlier solution was to provide a guest account with a public password. But this method has a lot of pitfalls, especially if several "guests" are active at the same time.

As with v0.08 we introduce two new configuration options: ANONYMOUS_USER and REGISTER_NEW_USERS.

One User to serve them all

With ANONYMOUS_USER you define the id of a person which is been used if no other person is logged in. Additionally a Login-link is displayed in the upper right corner.

This method makes it possible to define very precisely, what an anonymous user may do. You can adjust his Person profile, assign him to some projects and adjust those Project roles as well.

To do so you should...
  • Create a guest login or use an existing account.
  • Disable all user rights Person Profile , esp. "Edit own profile"
  • Name the anonymous user like guest or anonymous.
  • Only assign this user to projects you want to publish.
  • Get the id of this person from the URL in the browser
  • add following line to your customize.inc.php
confChange('ANONYMOUS_USER', 123); #replace 123 with the person's id


You should never use this feature in a commercial background. It is meant for public environments like Open Source or educational projects. An open Guest account provides much higher risk of intrusion than a closed system with good passwords.

Registering for new users (upcoming)

To use the forum features already provided by Streber for discussion and feedback, we also need a way to register new users on the fly.

This feature will probably work like this:
  • New users can chose nickname and fill out person profile fields
  • A temporary user with this nickname is been created and listed on a special page where Admins or Project Managers have to activate those accounts
Potential features:
  • Prior to being accepted as a new user, he can already add new Items, Upload files, Add comments etc, but at public level Suggested.
  • If the user is been accepted, the public level of all his "Items" will be raised to "open"
  • If the user is been rejected, all his Items will be removed.



read more:

2 Comments

xl

May 30, 2007

pixtur

Jun 20, 2007
should be...
It is working on this side...

 

Comment / Update