Users problem

We have a very large collection of photos which, to convert to zenphoto, I have divided into several sections.

We have been creating special Users which use only one section of a first level folder as its allocated 'Managed Album'; - eg. in this collection,
https://graves.eggsa.org/northwest/
a 'user' who is limited to the folder 'North West, BRITS, Urban area' as its 'Managed Albums'.

This makes working much quicker than logging in to the whole site to edit in just one area.

When I refer to a 'user' I am referring to the user as created under the Users tab.

We now find a strange problem - after some time (variable - hours, days) the 'user' in question loses its 'Managed Albums'. Suddenly the person logged in as that user is no longer able to edit - when one goes back to the User's tab the managed album or albums are no longer registered there.

We have been unable to see any rhyme or reason to this.

Over to you!

Hope you can help,
Richard

Comments

  • acrylian Administrator, Developer

    First time we hear about that issue. That would mean the database is updated as those settings are stored there.

    Please check your logs. And perhaps also look at the administrators table in the db. We had users with database issues causing duplicated entries.

    Although those were options and such if I remember correctly. Those were not our issue but somehow the tables were not correctly setup with unique columns.

  • This always happens after a database update.

    There is nothing to be seen in the debug log.

    In the administrators database table, can I presume that the managed album or albums is stored in the code of field 'rights' ?

    So, if the access to the managed album is lost at some update, then it is the 'rights' coding that is altered?

    Thank you,
    Richard

  • acrylian Administrator, Developer

    No, "rights" stores the rights level of the user. You cannot directly see the manage albums as they are connected via the "admin_to_object" table. Exception is the prime album if you have enabled that which has is id stored in the column of the same name.

  • OK, thank you - I see that.

    So judging from another of these incidents this morning, and looking at the database tables, that means that it is the admin_to_object entry that has been lost or removed when updating the database.

    I have asked the people involved to see if they can spot whether it is an update of images or of albums (or both) that is triggering this.

    We have not used 'prime' albums. I will check your tutorials to gen up on them.

    Thank you,
    Richard

  • Had a look - no, we don't use 'Primary' albums. We have many top level albums and need to switch from one to another as needed.

    We have been using the 'managed' albums to speed up using the backend and as we usually work only on one or sometimes two albums (when moving images or albums) this is very convenient for us and it has certainly speeded things up.

    Richard

Sign In or Register to comment.