Page 1 of 1

Only need Monitor and Modect : which file to patch ?

Posted: Fri Nov 17, 2017 10:16 am
by eric29
Hi Guys,

I would like that some unprivileged users don't see Mocord or Record function in the popup window and in Zmninja.

I want that these users can only modify camera mode like this : Monitor, Modect .

I don't see the files i need to modify to do this.

Can you help ?

In advance, thanks.

Eric

Re: Only need Monitor and Modect : which file to patch ?

Posted: Fri Nov 17, 2017 12:57 pm
by bbunge
Don't give them access to settings.

Re: Only need Monitor and Modect : which file to patch ?

Posted: Sat Nov 18, 2017 8:48 am
by eric29
Hi,

Thanks for your response but if i don't give them access in column CAMERA/EDIT mode they can't modify the camera mode from monitor to modect.

What i need for restricted users is to permit them only these two setting mode without MOCORD or RECORD.

Any idea ?

Eric

Re: Only need Monitor and Modect : which file to patch ?

Posted: Sat Nov 18, 2017 3:21 pm
by rockedge
you completely shut off access through ZM and make a small script that uses the API to set monitor or modect with a button or similar. OR one can go into the php and enhance the logic that decides the permissions, something like this perhaps will work for you
memberlist.php?mode=viewprofile&u=21840

Re: Only need Monitor and Modect : which file to patch ?

Posted: Sat Nov 18, 2017 10:55 pm
by eric29
Hi
Thanks for your reply. Is there someone interested in writing such a script ?

Eric