ai-cfia / fertiscan-frontend

This repository is for the frontend of the project react
MIT License
2 stars 1 forks source link

As a user, I want the camera switching option to be inaccessible until I grant browser permission for camera access, ensuring my privacy is respected. #112

Closed SamuelPelletierEvraire closed 2 months ago

SamuelPelletierEvraire commented 3 months ago

Description

Bug Summary: The SwitchMode toggle button between camera and file is accessible even when the browser permission for the camera has been declined.

Expected Behavior: The SwitchMode toggle button should be disabled or hidden if camera permissions are not granted by the user, ensuring it is only functional when appropriate permissions are in place.

Actual Behavior: Despite declining camera permissions in the browser, the SwitchMode toggle button remains active and accessible, allowing users to attempt to switch to camera mode, which should not be possible without the necessary permissions..

Affected Page

Page Name: HomePage

Screenshots

Image