How to preset user permissions in new user albums and restrict them to that album only
|
anfri
Joined: 2008-03-06
Posts: 13 |
Posted: Thu, 2009-04-16 08:41
|
|
I run a photo´-competition on my gallery driven website. The participants in the competition recieve a user album to put their pictures in when registrating. They have permissions to add, edit and delete pictures in their own album. But since the permissions are inherited from and album one level up (where all the competition albums are stored) the users also can edit and delete entries in other participants albums, not the wery best solution. But how to I preset user permissions to albums created by "user album" module individually? And how to restrict the permissions to each user album only.
|
|

Posts: 13
After studying the code of useralbum.helper.class i found out that if you delete all permissions for registred users in the album where you create new user albums, then the system will grant full access for the new user in their user album only. If any permissions are set for registred users the system will grant them instead in the new user album.