Need help with Permissions

Alex53

Joined: 2008-09-23
Posts: 3
Posted: Mon, 2009-05-11 07:58


Gallery version: 2.3
PHP version: 5.2.9
PHPInfo Link: http://www.rockontherockclub.com/info.php
Webserver: Apache 2.2.11
Database: MySQL 5.0.75
Activated toolkits (e.g. NetPbm, GD): Imagemagick, NetPbm, GD (in order of priority)
Operating system: Linux
Browser: N/A

I need to configure Gallery so that I have 2 types of user other than the admin.

1. A gallery manager. This type of user can create new albums. Each album is related to an event (usually a concert). He can approve or delete images that are uploaded to the albums.

2. A standard user. These users are people who have gone to the event and want to upload their photos of it. Their uploads should be subject to approval by the admin or the managers. They can delete their own photos but not others. They cannot create any albums (not even personal ones), only upload to the existing albums created by the admin or managers.

Finally, users who are not logged in should be able to view all these albums.

I have tried to achieve this but I can't get my head round the permissions system in Gallery2. I would like to figure it out rather than having to go back to Coppermine.

Thanks in advance!

PS: This is the gallery http://www.rockontherockclub.com/gallery

 
Alex53

Joined: 2008-09-23
Posts: 3
Posted: Wed, 2009-05-13 11:01

Anyone?

 
alecmyers

Joined: 2006-08-01
Posts: 4338
Posted: Wed, 2009-05-13 13:17

The G2 permissions interface isn't very flexible (although the permissions are) - so it may not be possible to arrange what you want.

 
Alex53

Joined: 2008-09-23
Posts: 3
Posted: Thu, 2009-05-14 13:22

Oh :(

I thought it was a pretty simple setup. I cant allow every registered user to create albums, and I need a manager to create them for them.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-05-14 18:37

Then don't allow every registered user to create an album. Create a group (Site Admin > Groups) and put people in that group who you want to have the ability to create albums (Add sub-album). Then assign that group the permissions to Add sub-albums.

For other user's just give them the Add sub-item permission. They shouldn't be able to create albums, just upload items (photos, etc) into albums.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here