I have Gallery 1.4.3 integrated in phpBB2. This works fine except that registered users are not able to make albums (admin has to add the album - and change permissions). I wish that all registered users should be able to add albums, is this possible? How?
Posts: 3
so since I've asked this before and gotten no answer and it appears I'm not the only one wanting to do this, is there a dev willing to throw an answer out to this question?
thanks
Chris
Posts: 3474
The crux of this issue is right now, we override Gallery's user storage mechanism and hook directly into your {phpBB/Nuke/Mambo/...} user database, which not surprisingly, doesn't have a setting for "can add albums". We're not quite sure yet how best to handle our new custom data, such as this flag.
One option would be to add fields to the database directly, but it's not quite that simple. Our custom things might get zapped if someone upgrades their phpBB and the database is repopulated. Another would be to cache our own data locally, but then syncing issues arise (one simple example: imagine giving creation authorization to someone, whose user account is then erased, and a new random user is created with the now available userid, and suddenly our new user has unintended write access).
So the official answer from the dev. team is this is on our radar screen, but we need to devote more thought to how to do this properly. If anyone has good ideas or suggestions, we'd certainly love the input!
-Beckett (
)
Posts: 69
I just created some top level albums based on theme and then give the LOGGEDIN user permissions to create sub-albums. Not an ideal solution for everyone, but works great for me based on my needs.
Posts: 32509
why not create a new group in phpbb "galleryContributors".
then check if the user is part of this group and if so, they are allowed to add albums.
or they are allowed to create max. 1 album or they are allowed to create 1 album with the same name as their user name and x subordinate albums within this album.
this approach is not perfect as it doesn't have fine grained permission control. you could use the specific phpbb permission (view, post, ...) and the album would be mapped to an invisible forum in phpbb.
Posts: 7
Whoa! :o
This is a major shortcoming for Gallery.
In prior versions the default behavior for phpBB2 was to create a group of Gallery_users and go from there. Simple. It works fine.
Is there a way for me to locally change this back to the old method? Can I just uncomment some of the changes?
I'll have to quit using this software & look for something else if this can't be done :cry:
Regards,
Tom