ZenphotoCMS Forum
How to auto assign albums to user with upload permission only? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to auto assign albums to user with upload permission only? (/thread-10493.html)



How to auto assign albums to user with upload permission only? - Meomix - 2012-10-10

Ok here we go, i would like that users automatically have upload rights to the albums already created or about to be created in the future, the "manage all" permission unfortunately also gives users the permission to wipe the album out of existence,
the only way apparently was to assign a user to the album from the "Managed Albums" box then new options popped up which was "edit" "upload" and "unpublished" from which i can tick the upload checkbox.

The register_user at options > plugins could have done this but it doesn't have the "Managed Albums" box.

So is there a way to make it such that users are automatically granted album upload rights only?




How to auto assign albums to user with upload permission only? - acrylian - 2012-10-10

You can set default rights for a new user with the register_user plugin or even better define a user group new user should be assigned to.

You can also have it create a default "primary album" assigned to that user.




How to auto assign albums to user with upload permission only? - Meomix - 2012-10-10

Clicking the "User album" checkbox at options > plugin > register_user clutters the main page with everybody's own user defined albums, strangely this is the only way to auto assign a user to an album with upload only permissions but to an album only they can upload to.

If there was only someway the "manage all" permission did not include the ability of deleting the albums, otherwise i'd have to add each and every user to a specific group and or permission.

Don't you guys have something like public albums?




How to auto assign albums to user with upload permission only? - acrylian - 2012-10-10

We have no concept of public upload albums. I personally would not grant anyone I don't know upload rights at all.... Security you know.

The register_user plugin lets you set default rights to a user which can be only "upload" rights and to a specific user album. Otherwise you have to create a user group an assign those users.

You possibly could write a plugin to auto assign a user to a specific group. See the plugin tutorial for info about available filters. Also the object model tutorial might be of help.




How to auto assign albums to user with upload permission only? - sbillard - 2012-10-11

Registr user can assign new users to a specific group. That group can be configured to grant view rights to all albums and upload rights to a subset of them. Isn't this what you are looking for?




How to auto assign albums to user with upload permission only? - Meomix - 2012-10-11

Yes! That is what i'm looking for! But i checked and there is no user groups option at the options > plugin > register_user page.




How to auto assign albums to user with upload permission only? - sbillard - 2012-10-11

You have to enable user groups and set the option for the register user default group




How to auto assign albums to user with upload permission only? - acrylian - 2012-10-11

Pardon me as I rarely use/used the register/user group stuff so I am less familiar as well. I was sure there is such an option as well but even I cannot find an option to assign a default group within register_user. All that is there are options to set default rights but those don't let you assign a specific album etc.

user_groups has no options at all but a group called "default". Even to me the only way to assign anyone to a groupd is either via the assignments or the user account itself.




How to auto assign albums to user with upload permission only? - Meomix - 2012-10-12

Yep, having the same problem as acrylian, cannot find the option for register_user default group within user groups let alone default "Managed Albums" permissions for register_user.




How to auto assign albums to user with upload permission only? - Meomix - 2012-10-30

So have you guys figured out whats wrong with the album permissions yet?




How to auto assign albums to user with upload permission only? - sbillard - 2012-10-30

Have you tried the nightly build?

BTW, if you want to follow the status of a problem then you need to create a problem report. That is the ONLY tracking mechanism we provide.