security error permissions login page

bobsmith

Joined: 2006-09-23
Posts: 7
Posted: Wed, 2010-03-10 02:27

Hello,

When a user goes to access his/her Gallery http://my.gallery.com/, I want them to be presented with the login page. I can make this happen by going to permissions in root Gallery and removingin the [core] View Item permission on the Everybody account.

The problem is when I do this, the users get a Security Violation Error when they try to log in an consequently can not access their gallery

The users [core] view Items remains set in the individual user gallery permissions.

I really dont have any use for the root Gallery other than to add customer gallery albums.

the Requirement is that users be presented with the login page and after they login, they have view Items permission of thier gallery only.

Thanks in advance

Gallery URL = http://paulsonphoto.no-ip.org/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6-1+lenny6 apache2handler
Webserver = Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny6 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2
Database = mysqli 5.0.51a-24+lenny3, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM
Acceleration = none, none
Operating system = Linux realelguapo 2.6.26-2-sparc64 #1 Thu Feb 11 02:11:16 UTC 2010 sparc64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.18) Gecko/2010020220 Firefox/3.0.18 (.NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 11
Rows in GalleryAccessSubscriberMap table = 157
Rows in GalleryUser table = 4
Rows in GalleryItem table = 157
Rows in GalleryAlbumItem table = 7
Rows in GalleryCacheMap table = 0