Managing users - guest password? Make email addr optional?

zooloo

Joined: 2005-02-04
Posts: 10
Posted: Sun, 2005-02-06 18:15

Hi,

I'm relatively new to G2 ... I've setup G1 before, and now I toying with the current G2 builds to organize a lot of pics. Got a couple of Qs regarding managing users:

1. Is there a way to set/change the guest user password? When I try to edit the user (Users -> click "edit" next to guest), I can only get fields to change the username and Full Name.

2. How can I make the email addr optional when I create new users?

TIA

----

Gallery URL (optional): (inaccessible)
Gallery version: g2/2005-02-05
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 18:56

@1.
the guest / anonymous user has no password. it's meant to be a generic user which is never logged in.

@2.
not possible at the moment. Perhaps we should make it possible. create a feature request on sf.net if you wish it was possible.

 
zooloo

Joined: 2005-02-04
Posts: 10
Posted: Sun, 2005-02-06 20:02

RE: 1. OK ... is this something that users who don't login get mapped to? It would be nice to have a separate generic "guest" acct. for real guests and a "nobody" or "anonymous" for non-logged in users.

RE: 2. Will do

Thanks for your quick reply.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 20:19

@1.
yes. well, create such a user, call it guest. but what's the point in creating such a user?

 
zooloo

Joined: 2005-02-04
Posts: 10
Posted: Sun, 2005-02-06 20:43

RE: 1 -- I use it as a generic acct. + password for family/friends ... it's not as secure as one acct per person, but it's more user-friendly and easier to manage.

Anyway, I'll have to pick some other username, since G2 won't let me delete "guest"

Thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-02-07 01:39

you might be able to rename "guest", but you can't delete it.

 
zooloo

Joined: 2005-02-04
Posts: 10
Posted: Mon, 2005-02-07 01:50

Good idea; that worked (renamed to "anonymous" and created a new user 'guest'.

Hopefully there are no refs to "guest" in the code which would cause something to break (i.e. pick the wrong user).

Thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-02-07 02:01

everything is based on the id of that user not its username. you can rename "admin" too if you like.

 
zooloo

Joined: 2005-02-04
Posts: 10
Posted: Mon, 2005-02-07 02:49

Cool.

PS: I've only been using the gallery forums for a few days and I really appreciate how quickly people respond!