USER_ADMIN_MODE USER_ADMIN_MODE
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

USER_ADMIN_MODE

Started by rayne, November 20, 2003, 01:29:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rayne

Both GALLERY_ADMIN_MODE and USER_ADMIN_MODE call html_albummenu which I see if I am logged in as Administrator. I created a group called photographers and I would like them to see  html_albummenu. Can I set "photographers" as user admin? If not, how do I let photographers see html_albummenu.
Thanks
 --Rayne

Joachim Müller

any registered user who is allowed to upload can see the user_admin menu. Why don't you create a regular test user, add him to the group and log in as this user and see for yourself?

GauGau

rayne

I thought any registered user who is allowed to upload can see the user_admin menu, but I created a group called photographers and gave them upload rights. I created a user in the photographer group. But when I log on as that user, I do not see the html_albummenu part of the user_admin menu. I see the upload picture and logout button across the top, but on the index page, he doesn't get the buttons that allow him to delete an album, see the properties of an album, or edit pics. I'm trying to figure out why the html_albummenu  part doesn't show up for users that have upload rights. It should, shouldn't it?
Thanks for the help.
--Rayne

Oasis

the user must be in admin mode
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

rayne

OK, that makes sense, but GALLERY_ADMIN_MODE has the link to choose between user mode and admin mode, but USER_ADMIN_MODE does not have that link. Should thtere be a user mode and admin mode for USER_ADMIN_MODE?
--Rayne

rayne


Joachim Müller

got a link and a test account?

GauGau

rayne

Link is http://www.ecsl.org/cpg1.2.0rc2/index.php. Click on the "X" of the eXchange club logo in the upper left hand side of page to bring up the login screen.
administrator: admin/admin
photographer: photo/photo

Oasis

aha... I misunderstood you.. Now I see...
The "Photographers" users don't see the edit/delete album links, because the albums do not belong to them. They can only see them in their private galleries. If you want users to be able to edit album properties in all categories, you'll have to add them to the administrator group.
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

rayne

Yeah, but there are certain admin links I don't want photographers to have. Can I change the permissions on the albums so admins and photographers can edit/delete them?
--Rayne

Joachim Müller

the feature yor're referring to was requested before (some kind of "moderator" group that has more privileges than a regular user but less powers than an admin). Afaik this has not been done (hacked) yet.

GauGau