Manage Album for users.

The Box Manage Albums is empty when I try to assign albums to users. I am logged in as Admin.

See screenshot below

http://img.skitch.com/20091013-d3wip833sk1quij583irenfwf3.jpg

I was using 1.2.6 then updated to current Nightly hoping for a fix. [4546]

Is that a known bug?

EDIT: even with Manage all albums, nothing is displayed.
http://img.skitch.com/20091013-qpun7ew1xicuw7iha4psmqixu4.jpg

Comments

  • Further testing...

    Clicking ether of these 2 boxes clearly breaks something.

    http://img.skitch.com/20091013-p1hr2r9qhd9bk5c36asjnfyhsa.jpg

    Even when they are both ticked again things are still broken.
  • I'm not seeing this. Anything else that might be involved? Did you set the managed albums in the template?
  • I have tried this back and forth and always the same. Another screenshot.

    http://img.skitch.com/20091013-k7a9fhtnahdhk8icg6843n813g.jpg

    This is from the Assignments tab. You can't even see Album Managers there.

    In the Users tab I am able to see it.

    http://img.skitch.com/20091013-mc1fx2ib6n2tqxwhbnbpa1qfm9.jpg

    However if I select it and click save.

    it becomes empty

    http://img.skitch.com/20091013-jj6u8u4enmpytega1bwtqy3kp.jpg

    I am not seeing any errors in the logs.
  • For the last three images, things are working as intended. Album Managers isn't listed in Assignments because you cannot assign members to a template. Templates are only for providing a particular set of rights/albums for users. Once the template is applied to a user, that user will have the template's rights and albums, however he will not be assigned to the template (hence it becomes empty). Members can, however, be assigned to groups. That is why you can see Album Managers in the Users tab and not in the Assignments tab; you can use a template to give certain rights but you cannot assign members to a template (groups are for assigning members).

    As for your original problem, you should be able to manually assign albums to any user who is not part of a group (given that you have the correct rights to do so). If the user is a member of a group, then his managed albums are determined from that group.

    Maybe this will give you some insight into why things aren't working as you expect them. If you feel that you still have a problem, please give us some more information and it might help to provide full screenshots of your problem.
  • Ok I see.... Just a quick response, wouldn't be great then to display that you have indeed assigned a template to a user.

    If I understand it correctly. User groups can not work in a way that one user can have 1 folder each. You always have to assigne certain amount of folders to the group.

    So I guess template is the way to go, just bad that its not visible it has been assigned.
  • Groups are just that, a uniform set of rights that can be assigned to multiple users. If you want individual users to have independent rights, then you cannot use groups.

    Templates are fleeting things. As kagutsuchi has said, they are applied (not assigned) once to a user and afterwards are not at all associated with him. So there is really nothing tho be indicated. You will see the initial sets of rights that were in the template of course, but those could be instantly changed.
  • Ok... I get it now... to bad it can't be used as I thought...

    By having a group of users that I can then change for example that they can change a theme or tags or any other, and still just be assigned a folder each. As in different folder.

    There would not be any easy solution to solve, a system that has this... As soon as you register you get a folder automatically called your username and you could start to upload photographs right there on the fly, instead of having to wait for an admin to make you a folder and assign it to you.
  • It would actually be easy to solve. Make your own version of the register user plugin to do that.
  • I've cleaned up the code I use on my site for this same system and should be releasing it soon.
  • I am trying to assing users to manage a single gallery by creating a specific usergroup. First user which I tested was able to manage that album. But second user which registered on the gallery is in the same group but has no ability of managing any album. Is that by design or a bug that a single gallery can be managed by single user?

    Using ZP 1.2.8 RC1.
  • Found the bug. For every subsequent user after the first user, the table entry in zp_admintoalbum is not updated and hence even being a member of the group, it does not get permission to manage that album. Reporting the bug in Trac.
Sign In or Register to comment.