Controlling what a visitor can do...

TrailMix

Joined: 2009-08-08
Posts: 4
Posted: Sat, 2009-08-08 16:37

I have set up Gallery2 and all is working well. One thing I cannot seem to figure out however is how to control access. My gallery is set up for family to view photos. Guests cannot view anything. I would like to set it up to where family that are viewing the gallery cannot make changes to the site, upload photos, etc. I just want them to be able to view photos, comment on photos if they wish etc. About everything except admin control.

I have searched the forums and get tons of hits to my keywords, but have yet to find the tips I seek. Any help would be greatly appreciated.

Mix

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-08-08 17:37

What you're describing is the default behavior. Registered users, by default, can only view, not upload or edit unless you've given them permission to do so.

Click Edit Permissions and change the permissions.

If you need more help post more information:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
TrailMix

Joined: 2009-08-08
Posts: 4
Posted: Sat, 2009-08-08 17:46

I went into permissions. I have family set to all access. I have tried changing it to something else but then the user singed in as family cannot view photos. I have been unable to find clear definitions as to what each setting under permissions allows.

Quote:
Last Run Details:

Gallery URL = not public
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.5 cgi
Webserver = Apache
Database = mysqlt 5.0.81-community, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, Getid3, ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux reseller5.hrwebservices.net 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Rows in GalleryAccessMap table = 8
Rows in GalleryAccessSubscriberMap table = 34
Rows in GalleryUser table = 3
Rows in GalleryItem table = 33
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 0

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-08-08 17:53
Quote:
I have family set to all access

That means they can do everything, All Access = Delete, Edit, Edit Permissions, Add, View, etc. If you only want them to View, then remove the All Access permission and add the View permissions.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
TrailMix

Joined: 2009-08-08
Posts: 4
Posted: Sat, 2009-08-08 18:00

I understand that as well. But...

When I go into the page where permissions are controlled, I see:

User Permissions
Family All access

Under the pop up menu, there is no clear permission that would allow viewing only. Which is what I was saying before. I have been unable to locate clear definitions to what each of the permissions under the pop menu allow. Do I need to set up a bunch of different permissions for 'Family' to view? Or is there one option under the pop up menu that will do what I need?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-08-08 18:08

I totally understand that the permissions in G2 are difficult to understand.

[core] Add sub-album = Add albums
[core] Add sub-item = Add photos
All access = Everything, there is nothing this person can't do to an album or items
[core] Change item permissions = Change permissions
[core] Delete item = Delete stuff
[core] Edit item = Edit stuff (change titles, descriptions, etc, but not edit permissions
[core] View item = View the thumbnail (if only this permission is assigned)
[core] View all versions = View EVERYTHING
[core] View resized version(s) = View only resized versions (should also have View Item to make this useful)
[core] View original version = View only the original full sized images (should also have View Item to make this useful)

What you problem want to assign is the [core] View all versions permission
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
TrailMix

Joined: 2009-08-08
Posts: 4
Posted: Sat, 2009-08-08 18:17

PERFECT! That was the ticket. Thanks niv!