permissions for single user and single album

Patr100

Joined: 2014-02-14
Posts: 13
Posted: Tue, 2014-02-25 03:29

I have the following quoted and much of the help. I know it is supposed to be simple but I am still having trouble setting up basic permissions for my test site.

I simply want to be able to assign a single Album to a single user and only that user (plus of course myself as Admin) has adding and editing permission on that album.

You say
" This will bring up a permissions dialog, which you can give certain users permissions for the album."
but there is no more help in actually setting the permissions visually eg green ticks/pink backgrounds/greyed out or not greyed out etc

If I set Add and Edit for any album to registered users with a green tick every user can access every album when logged in which clearly isn't what I want. But I don't understand the difference in practice between denying through parent album and denying explicitly as neither seem to do what I want. Does "registered users" apply to all users or just the single user for that album? I have tried various permutations but none are achieving what I require. A visual explanation of the permissions panel and what they allow would be helpful as I am finding configuring it very confusing. Could you please attach a screenshot of how it should look so that a single Album to a single user and only that user (plus of course myself as Admin) has adding and editing permission on that album.

Surely I do not have to create a group for every single user as suggested here?
http://galleryproject.org/node/106877

Quote:
Managing users in Gallery is extremely simple. When you are logged in as an administrator, simply click "[manage users]" on the main Gallery screen. Here you can add new users, edit existing users, and delete users.

Once you have created some users, you can give the users permissions. If you'd like to give a certain user a certain permission on an album, simply click on "[permissions]" by an album (if it's a top level album), navigate into the album and click "[permissions]" (sub-album or top level album), or select "Permissions" from the drop down box underneath an album (sub-album only). This will bring up a permissions dialog, which you can give certain users permissions for the album. Note Gallery's permissions are not inherited. This means that a parent album's permissions are not taken into account when Gallery decides whether a user has access to an album. This is different, for instance, than the Unix permission system, which is inherited.

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Tue, 2014-02-25 07:22

This post might help
http://galleryproject.org/node/112476

A "registered user" is any user that logs into Gallery. Basically it is anyone who is not anonymous.

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Tue, 2014-02-25 17:43

Thanks for your reply. I'd assumed that "everyone" was any visitor to the site and like you say, Registered users was any member who has been assigned a username and log in but not the individual member that I want to assign to that album.It does look like I will have to spend more time setting up a gallery site which could have 100 plus members each with their own album only to add and edit whether creating a group for each user which also mean I would also have potentially 100 plus groups as well.
It just seems a slightly long winded way of achieving what I feel would have been an obvious default facility for most community Gallery sites involving many members - ie they edit their own and can't edit/ add others albums.
The other problem I see is that each group I add will add to the size of the permissions dialogue pop up , one or a few is manageable but if they are all automatically appended up to 100 they will surely go off the page and I will have to do a lot of clicking to disallow permissions for all the other 99 plus albums !

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-02-25 18:02
Quote:
permissions dialogue pop up

http://codex.galleryproject.org/Gallery3:Modules:permissions_dialog_usability

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Tue, 2014-02-25 18:26

Hi Dave , thanks that module should help.

I do though think if groups are currently the only way to do what I require that it would be useful to be able to assign any album exclusively to a single user with very few clicks as currently I see there will be a lot of clicking on the dialogue to disallow permissions from all the other users which are currently allowed by default every time we create a new album and I am surprised this option isn't enabled by default with other albums and groups etc then opted in , rather than having to opt everyone out of the albums they shouldn't be in with all contributors potentially being able to delete or edit other users' images unless admin disallows it.
I have tried the "home gallery " module but it only as described sends users to a single gallery it doesn't affect or reset permissions.

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Tue, 2014-02-25 21:19

Good you got the "user homes" module sorted out. And what about the "user chroot" module? Based on the description of the module, it sounds like it would get you close to what you want in regards to permissions. Sorry I'm not 100% sure as I don't use either module.

 
Patr100

Joined: 2014-02-14
Posts: 13
Posted: Tue, 2014-02-25 22:12
spags wrote:
Good you got the "user homes" module sorted out. And what about the "user chroot" module? Based on the description of the module, it sounds like it would get you close to what you want in regards to permissions. Sorry I'm not 100% sure as I don't use either module.

I just tried now the chroot module but the problem is that while it directs and restricts a user to a single gallery, now they don't have ANY editing facilities! They can only view but not edit the gallery when logged in. I deleted the test groups I had in case they conflicted but that hasn't helped.
EDITED TO ADD:
I changed the edit permissions for the album to ALL users and assuming that it is secure in restricting the logged in user to that album and keeping out all other users it seems to do what is required for now.
Thanks for your suggestions.