A manager for the webcam. With this extension you can enable or disable the webcam from GNOME Shell. This extension load or unloads the module uvcvideo from the Linux Kernel. To enable or disable the webcam. Simple and easy.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
sudo seems danger here and most of default users won't have "password free" sudo. Could you find a way that probe modules without sudo ?
I don't know any other way to disable the webcam. But if you set the /etc/sudoers with username ALL=NOPASSWD: /sbin/modprobe -av uvcvideo, /sbin/modprobe -rv uvcvideo username only can load and unload uvcvideo module on the Linux Kernel. He/she can't do anything more Probably it isn't the best solution but I don't know any one better Thanks.
Because you have a newer version with pkexec (I verified it works) I'm retroactively rejecting this due to the sudo usage.