user rights

I am not able to modify the user rights for a test user account that I created. When I click on the "album" checkbox to deselect it, then save the settings, the "ablum" rights checkbox goes right back to being checked.

I have tried this with the user as part of a group that has the "album" rights deselected, but this does not help to override the problem with the user rights.

Will I have to go in to the database and change the "rights" field for the record? I see that it is set to an abstract value that I don't understand: "272897". So I could experiment with modifying that value, but it seems that something is wrong on the admin frontend, where settings are not being saved.

Could it have to do with the upgrade to v1.4.0.2, where a particular file that is designed to write to the database is not doing so correctly?

Any thoughts? Thanks for an otherwise great gallery tool!

Comments

  • If a user has albums selected in his managed albums list the "album" checkbox must be checked and will be so automatically. So I would guess the user has a managed album. Remove that and you can uncheck albums.
  • Thanks sbillard, that was the solution.

    Now I just have to figure out how to require admin approval for photos that have been uploaded by the "guest" user. Will investigate that now.

    Thanks again!
  • You can set the default for new images to be "unpublished" via the Publish Content utility. In the managed albums, un-check the "edit" box and the user will not be able to edit the image (and turn on the publishing).

    That latter unfortunately means he cannot edit anything else about the image though. Anything more robust would require implementing a plugin which attaches to the "save_image_utilities_data" filter and does only allows "show" to be set to 1 by an admin. (If it is the user who is saving the image edit you would have to figure out that it was not already 1 in order to not revert your approval. Off hand I am not sure how to know that, I suspect that there is data in the image object internals, though that can determin the original setting.)
Sign In or Register to comment.