Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Lost anonymous user

web-app

Whilst playing around with the database I accidentally deleted the anonymous user account, the one with a userid of -1. I recreated it in the users table but now when someone visits Gemini who hasn't logged in yet, they are only presented with a login box. I'd like to set it so that it shows all of the projects as view-only to non logged in users, like your live Gemini system does.

I have v2.1.1 and have the following options set in Administration | Security Settings | General:

Allow user registrations: No
Allow anonymous users: Yes
Show All Projects: Yes

Under User Access Schemes, I have the anonymous user set up as Viewer on all 3 projects. I have also tried External Viewer and <No Scheme> but I still can't see the projects on the login page.

Am I missing something? Is it enough to create a user with an id of -1 called anonymous or are there other settings to be made?

Thanks,
Jason.

jsweby
· 1
jsweby
Replies (2)
helpful
0
not helpful

These are the commands that will restore your anon user:

delete from users where userid=-1

SET IDENTITYINSERT users ON
insert into users (userid,username,firstname,surname,pwd,emailaddress)
 values (-1,N'anon',N'* Anonymous',N'User *',0x2AE66F90B7788AB8950E8F81B829C947,N'anon@anon.com')
SET IDENTITY
INSERT users OFF


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Superb, that's sorted it and it now works exactly as I'd hoped. Thank you very much.


jsweby
· 1
jsweby