fixed barcode permissions