Admin Upload Rights

We've a large site (twenty odd thousand images), and have teams of volunteers who are uploading and captioning more...

Following a few "accidents" we've started grouping volunteers into areas - such as "Manager - Waterways" and "Manager - Rail" by top level Album, so the scope for damage is reduced. We have the "User Groups" plugin to ease administration.

All seems well with the "Admin-Albums" tab, the user can see only the top level album (and all sub-albums) they are assigned, as expected.

But the "Admin-Upload" tab lists the entire site under "Upload to"

I tried uploading an image to an Album that user wasn't assigned to and, while the image was not uploaded, ZP returned

Error SyntaxError: Unexpected token '<', " <!DOCTYPE "... is not valid JSON

Which is not a very tidy return!

It's possible this has been fixed; we are currently running 1.6.2 (with compatible Bootstrap). Upgrade to the latest ZP is on the To-Do list, but that would also mean upgrading Bootstrap; and I know we have not documented all the "tweaks" for our site...

Comments

  • acrylian Administrator, Developer

    Posting about any 1.6.2 issue is a bit pointless ;-) There have been fixes regarding upload rights in 1.6.5 if I remember right. But you should review the release posts anyway.

    Bootstrap itself has of course nothing to do with Zenphoto. You probably refer to the zpBootstrap theme we have a fork that we generally try to keep compatible. But naturally fixing a customized or custom theme is up to you.

  • My apologies - just checked on my own site (ZP 1.6.6a) and it only lists the Albums you have access to on the upload tab.

    And I didn't realise until today that v 1.8 was available - downloading now...

  • acrylian Administrator, Developer

    All right! I remember we fixed that upload issue on special user report. That reporter might even have been you but I don't remember.

  • All right! I remember we fixed that upload issue on special user report. That reporter might even have been you but I don't remember.

    Not me - but happy to take the credit :-)

Sign In or Register to comment.