Admin RIghts Problem

I gave some folks admin rights today. When they go to Options to reset their password, it wipes out all the rights I had checked for them (nothing is checked anymore). I can go back in and reset it, but it happens every time someone resets their password (tried doing it on a test admin login i made for myself with the same user settings).

Any suggestions on how to fix this are appreciated!!!

Comments

  • If you have not already done so, install the current nightly build.

    I have just tested for this issue and it seems to be working.
  • Thanks for another prompt response. Glad to know it's fixed.

    I'm curious about the nightly build. On the download page, it says "These may be unstable packages! They carry no guarantees or promises; install and use them at your own risk," and yet, on the forum there are lots of recommendations for the nightly build as the solution to a problem.

    My question is this: Is the nightly build a solution for a site that is live? Is that what you guys are recommending? Or, are you really saying, "it's fixed. You'll get it in the next release. If you're desperate and need it solved immediately, you can download the nightly build at your own risk."

    I'm not trying to make trouble here, just trying to understand about when to use the nightly build.
  • The latter. Although in general the nightly build is quite stable. It is just that for any particular nightly build there may be problems. If you have the means to test the build before putting it live, by all means check it out and go live if you see no problems. Most likely it will be more stable than the previous release. It is just that "you never know."
  • i have upgraded to 1.2.4 and it's still happening. Must be something with my set-up... Not a huge deal, I can always reset rights for admins if they change their password.
  • Check your error logs. There is no way other than some kind of failure processing the Save that would result in the password being saved but not the rest of the data.
  • I have done an experiment. I installed a new, generic version of Zenphoto 1.2.4. There were no errors or warnings when I ran setup.php.

    I created an admin account. When I give the admin accounts ALL rights, I can successfully change the password without losing any admin rights.

    However, when the admin account does NOT have User admin, Options, Themes, or Manage all album rights, the other rights get "unset" when the password is changed, so the admin has access to nothing without the master admin resetting the rights.

    I'm wondering if anyone else can duplicate this little experiment and get the same results.
  • Another admin rights problem with this experiment: If the following rights ARE NOT selected: User admin, Options, and Themes, and the following rights ARE selected: Manage all albums, Edit, Comment, Upload, View all, Overview, then the Comments don't show up.

    It is this specific configuration that makes them disappear. The culprit seems to be if "Manage all albums" is selected. If it is not selected and the other rights are as above, then the comments appear, but there is an error message on the comments tab:

    Notice: Undefined index: private in /home/mysite.com/zenphoto/zp-core/admin-comments.php on line 347

    Notice: Undefined index: anon in /home/mysite.com/zenphoto/zp-core/admin-comments.php on line 348

    Again, this message goes away and comments work fine if admin is given rights to everything. Haven't experimented with other configurations.
  • The problem with saving losing admin rights is probably related to a problem that was fixed yesterday. You are the first to report the comment errors. There will be a fix in tonight's build.

    Please try tonight's build to see if these issues are resolved.
  • Tried installing last night's build but got the message "No Zenphoto image handling library was loaded. Check your install files." Oh well... I'll try it again later.
Sign In or Register to comment.