Login by scanning user barcode
As a warehouse employee, I want to scan my badge to log in so that I don't have to type credentials.
- BEAM Settings enable_scan_to_login = "All Users" or "Mobile Users Only"
- Navigate to /login page
- Scan user barcode
- Redirected to /beam home page
- Session authenticated as scanned user
Reject invalid login barcode
As a warehouse employee, I want invalid barcodes rejected at login so that unauthorized access is prevented.
- Navigate to /login page
- Scan non-user barcode (item, warehouse, etc.)
- Error displayed: "Wrong barcode"
- Remain on login page
Enforce mobile user role restriction
As a system administrator, I want scan-to-login restricted to mobile users when configured so that only authorized employees can use badge login.
- BEAM Settings enable_scan_to_login = "Mobile Users Only"
- User without "BEAM Mobile User" role scans badge
- Error displayed: "Not Beam mobile user"
- Login rejected
Enforce IP restriction
As a system administrator, I want scan-to-login restricted by IP address so that badge login only works on warehouse devices.
- BEAM Settings restrict_ip configured
- Scan from allowed IP, login succeeds
- Scan from disallowed IP, error: "Network not available"
Login by scanning user barcode
As a warehouse employee, I want to scan my badge to log in so that I don't have to type credentials.
Reject invalid login barcode
As a warehouse employee, I want invalid barcodes rejected at login so that unauthorized access is prevented.
Enforce mobile user role restriction
As a system administrator, I want scan-to-login restricted to mobile users when configured so that only authorized employees can use badge login.
Enforce IP restriction
As a system administrator, I want scan-to-login restricted by IP address so that badge login only works on warehouse devices.