I didn’t see a parameter for it, but I think you can hide the manage-button with a phx-modifier, which checks the usergroup and pageowner.
That would be great but i think that it should be in the maxigallery as an option?
its not logical that somone can add foto’s to a page he has no rights to be on in the first place, unles you alow it tru a parameter in the call or config
Dimmy
Maybe I’m misunderstanding you, but it should be possible to create the gallery pages with &admin_webgroups and/or &admin_webusers in the MG call to control who can manager the pics.
Quote from: Dimmy at Sep 25, 2008, 02:23 AM
Quote from: BobRay at Sep 25, 2008, 01:27 AM
Maybe I’m misunderstanding you, but it should be possible to create the gallery pages with &admin_webgroups and/or &admin_webusers in the MG call to control who can manager the pics.
yes but that is for web groups and webuser only I need it for manager users.
If you also make them webusers wouldn’t it work to control their access?
NP
yes that is my point
I am not using WEB users they are all MANAGER users
and there is an restriction that one manager user can not delete some other images (they do not even see them in the manage image part) but he is alowed to add images on that page.
is short:
if manager user is not owner / creator of that page (or is not in that usergroup would be better i think)
then the manage pictures button must NOT apear on the page.
in the manager no rights to edit that page then in the front no rights to do that.
I think that’s how it should work by default.. atleast that’s how I implemented it at some point.
Only MODx manager users that have rights to edit the MODx document can see the manage button when logged in to MODx backend.
And all manager users that have the admin role can also see the manage button.
So if the MODx manager user don’t have right to edit the document, he shouldn’t be seeing the manage pictures button. Did you try it?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."