sivann / itdb

IT Items Database
http://www.sivann.gr/software/itdb/
GNU General Public License v3.0
154 stars 105 forks source link

Need an option to render the item details page in read only when the QR code is scanned. #52

Open krishnaganesan opened 8 years ago

krishnaganesan commented 8 years ago

Hi, When I try to read a QR code asset label, I have added the below text to be prepended. http://itdb.XXXXX.com/?action=edititem&id=

So on reading the code in a QR code reader connected to a pc or a qr reader app, it opens a browser and displays the item details in:

  1. Edit item mode page if I have logged in as ITDB Administrator.
  2. Item details page with all details in editable mode - if I have logged in as security. Please note that I can edit the details in the fields but on clicking submit, it throws a error, "access denied."

Can we have, instead of "Access denied" after displaying the page with editable fields, the whole page is rendered as read only with the Assets details please?

Regards, Krishna