Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Customization problem
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Customization problem

Re: Customization problem 12 years, 7 months ago #29076

  • neil
  • OFFLINE
  • Posts: 7
Hello Pedu,

Vendors should only be able to see their own reports. Vendors have to select their products in a form to see their reports.

But my problem is that, vendors are able to select products that are not theirs, therefore, they can see the statistics/reports of other vendors, and i don't want this to happen.

I have been told by one of your collegues this statement :

Vendor id is necessary to save to session $_SESSION['com_vmreports']['vendor']

But i still don't know what to do.

Do you understand the problem a bit better now ?
The topic has been locked.

Re: Customization problem 12 years, 7 months ago #29085

  • pedu
  • OFFLINE
  • Posts: 177
Dear,

I think I understand the problem better now.
Yes, the vendors can see all of the products in the select-box. So you must edit the SQL query of the products select. The vendor Id of the logged user is stored in the session as you wrote, and the product vendor id in the product table.
ARTIO Support Team
The topic has been locked.

Re: Customization problem 12 years, 7 months ago #29130

  • neil
  • OFFLINE
  • Posts: 7
Hello

Is it possible to give me some guidance lines please on what to do, and where to go .
The topic has been locked.

Re: Customization problem 12 years, 7 months ago #29150

  • pedu
  • OFFLINE
  • Posts: 177
Dear,

could you, please, contact me on email for further conversation: Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript

Thank You.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
  • 2
Moderators: pedu
Přihlášení uživatele Prázdný